bug in cal(1)

David Elliott dce at mips.UUCP
Sun Jan 18 16:05:01 AEST 1987


In article <21173 at styx.UUCP> carlson at styx.UUCP (John Carlson) writes:
>Here's a calendar not to use:
>
>% /usr/bin/cal 1 87
>   January 87
...

Well folks, I guess it's time to add code to cal to make it work
like this for all 2-digit year specifications:

	% cal 1 87
	January 87
	(NOTE: This is the year 87A.D., not the 87th year of your current
	 century)
	 ...

I guess we'd also need a -f option to say "I know what I'm doing, so don't
give me that line about what year you are giving me the calendar for".
-- 
			David Elliott

UUCP: 	{decvax,ucbvax,ihnp4}!decwrl!mips!dce, DDD:  	408-720-1700



More information about the Comp.bugs.4bsd.ucb-fixes mailing list