3 ms·
I know you can do it but the trouble with Unix is that its user interface is horrid (http://www.ceri.memphis.edu/people/smalley/ESCI7205F2009/misc_files/The_tru
by Someone 5y ago
I know you can do it but the trouble with Unix is that its user interface is horrid (http://www.ceri.memphis.edu/people/smalley/ESCI7205F2009/misc_files/The_truth_about_Unix_cleaned.pdf http://www.ceri.memphis.edu/people/smalley/ESCI7205F2009/mis..., discussed in https://news.ycombinator.com/item?id=9558455 https://news.ycombinator.com/item?id=9558455)
The list of inconveniences in the shell is just too long. It is death by a thousand cuts.
I’ve seen scripts grabbing file sizes from the output of ls -l by using character offsets in each line, which, aside from the usability issue, means such scripts will break if files get too large to fit the space ls thinks is sufficient.