cal 849 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .TH CAL 1
  2. .SH NAME
  3. cal \- print calendar
  4. .SH SYNOPSIS
  5. .B cal
  6. [
  7. .I month
  8. ]
  9. [
  10. .I year
  11. ]
  12. .SH DESCRIPTION
  13. .I Cal
  14. prints a calendar.
  15. .I Month
  16. is either a number from 1 to 12,
  17. a lower case month name,
  18. or a lower case three-letter prefix of a month name.
  19. .I Year
  20. can be between 1
  21. and 9999.
  22. If either
  23. .I month
  24. or
  25. .I year
  26. is omitted, the current month or year is used.
  27. If only one argument is given, and it is a number larger than 12,
  28. a calendar for all twelve months of the given year is produced;
  29. otherwise a calendar for just one month is printed.
  30. The calendar
  31. produced is that for England and her colonies.
  32. .PP
  33. Try
  34. .EX
  35. cal sep 1752
  36. .EE
  37. .SH SOURCE
  38. .B /sys/src/cmd/cal.c
  39. .SH BUGS
  40. The year is always considered to start in January even though this
  41. is historically naive.
  42. .br
  43. Beware that
  44. .L "cal 90"
  45. refers to the early Christian era,
  46. not the 20th century.