tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Weekday abbreviations in output of cal(1)



Also note that when using ``cal -r'' it still displays 5 lines of
output, even though only 3 (or 4) lines contain any day-numbers.
This results in somewhat excessive vertical white-spacing.

:)

	# cal -r
	   September 1752
	 S  M Tu  W Th  F  S
	       1  2 14 15 16
	17 18 19 20 21 22 23
	24 25 26 27 28 29 30



	# cal
	     June 2020
	 S  M Tu  W Th  F  S
	    1  2  3  4  5  6
	 7  8  9 10 11 12 13
	14 15 16 17 18 19 20
	21 22 23 24 25 26 27
	28 29 30

	#


On Mon, 29 Jun 2020, Valery Ushakov wrote:

Michael Siegel <msi%malbolge.net@localhost> wrote:

So, in the output of NetBSD's cal(1), days are abbreviated with one
letter, except for Tuesday and Thursday.

I'd say this is:

  * inconsistent
  * potentially misleading (Saturday and Sunday are both just "S".)
  * unnecessarily cryptic
[...]
So, I'd say that, maybe, changing cal(1) in NetBSD to use two-letter
abbreviations throughout as well would also be a good thing concerning
compatibility with what other (widely-used) Unix-like operating systems do.


No objections, but just for context/perspective/pedantry/... :)

2.11 BSD UNIX #1: Fri Jun 9 08:42:54 PDT 1995
   root@SSU-64EN137:/usr/src/sys/SYSTEM

[...]

erase, kill ^U, intr ^C
# cal
usage: cal [month] year
# cal 1 72
  January 72
S  M Tu  W Th  F  S
         1  2  3  4
5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

#

-uwe


!DSPAM:5efa3111136781460411656!



+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+


Home | Main Index | Thread Index | Old Index