home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / deskaccs / cal.arc / -READ.ME next >
Internet Message Format  |  1987-01-25  |  824b

  1. From: seismo!lll-lcc!pyramid!voder!lewey!evp (Ed Post)
  2. Subject: cal.c for Unix and MSDOS
  3. Date: 24 Jan 87 05:27:42 GMT
  4.  
  5. After all the discussion about a "bug" in unix cal, I decided to post
  6. this version.  It compiles both in the unix environment and under
  7. MSDOS using Lattice C (with a little .ASM assist).  It folds years
  8. between 13 and 99 into the twentieth century, and recognizes months
  9. either by name or number.
  10.  
  11. Included is the source and MSDOS executable.
  12.  
  13. Usage:    cal [m] [y]
  14.     'm' is 1 thru 12 or any reasonable month name.
  15.     'y' is a year between 100 and 9999.
  16.     Years 13-99 are abbreviations for 1913-1999.
  17.     With no arguments, the current year is printed.
  18.     With only a month given, the next instance of
  19.         that month (this year or next) is printed.
  20.     Year as a single argument gives that whole year.
  21.