From mboxrd@z Thu Jan 1 00:00:00 1970 From: "rob pike" To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010317161038.4F199199EA@mail.cse.psu.edu> Subject: [9fans] Y2K Date: Sat, 17 Mar 2001 11:10:35 -0500 Topicbox-Message-UUID: 71119dc2-eac9-11e9-9e20-41e7f4b1d025 Sharp-eyed Ellis noticed that the "printed" date on man pages was wrong. It's due to a mistake in a fix to a fix to get Y2K right in troff. Here's the fix to the mistake: change the line in /sys/lib/tmac/tmac.an from .nr yD (\\n(yr%100 to .nr yD (\n(yr%100 The extra backslash confused troff, causing it to leave yD unset, which coincidentally gives it the value 0, which is why we thought the code was right last year. I am sure this is not the last Y2K bug in troff and its relatives. -rob