jrstu@cbnewsd.ATT.COM (james.stuhlmacher) (03/23/90)
For the first 10 minutes of each hour pr(1) will print the minutes on the header of each page incorrectly. If the time is nine minutes after five, pr(1) will print 5:9 instead of 5:09. The following patch file will fix this. Jim Stuhlmacher j.stuhlmacher@att.com ..!att!ihlpb!jims #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: pr.cdif # Wrapped by jims@stu on Thu Mar 22 22:34:40 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'pr.cdif' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'pr.cdif'\" else echo shar: Extracting \"'pr.cdif'\" \(450 characters\) sed "s/^X//" >'pr.cdif' <<'END_OF_FILE' X*** opr.c Thu Mar 22 22:33:18 1990 X--- npr.c Thu Mar 22 22:33:04 1990 X*************** X*** 506,510 **** X } X X /* At this point, 'year', 'month', 'day', 'hour', 'minute' ok */ X! printf("\n\n%s %d %0d:%0d %d", moname[month], day + 1, hour + 0, minute, year); X } X--- 506,510 ---- X } X X /* At this point, 'year', 'month', 'day', 'hour', 'minute' ok */ X! printf("\n\n%s %2d %2d:%02d %d", moname[month], day+1, hour, minute, year); X } END_OF_FILE if test 450 -ne `wc -c <'pr.cdif'`; then echo shar: \"'pr.cdif'\" unpacked with wrong size! fi # end of 'pr.cdif' fi echo shar: End of shell archive. exit 0