[TUHS] Command options and complexity

Doug McIlroy doug at cs.dartmouth.edu
Fri Mar 13 13:04:03 AEST 2020

> -,: Make the option standard: output numbers with commas every 3 digits

A terrible idea. Whatever ls outputs should be easy for other
programs to read, and few know how to read commafied numbers.
As others have mentioned, this is also a strong argument for
changing the output representation of dates.

I often do mailx -H | sort -t/ -k2nr to sort in reverse order of size--a
quick way to find the pay dirt when I want to shrink my mailbox.
This would never fly if the sizes had commas. (Well, I suppose I
could add sed s/,//g to the pipeline.)


More information about the TUHS mailing list