News for hackers. Stuff that matters.
Re:Exa, a modern replacement for ls by TeMPOraL on Friday August 04, 2017 @01:31AM (#14926542)
> defaulting to relative units, ditto.

One thing I always wanted to remove from `ls` is the default "human-like" display of dates and times (which `exa`, unfortunately, seems to inherit). This is IMO just annoying (and replacing time with year, if it differs from current, just plain stupid; and don't get me started about the "bright" idea of using locales there!). We have ISO-8601 for a reason. It's readable and universal. 2017-06-17 is easier to parse than "cze 17" (hello, locales).

Re:Exa, a modern replacement for ls by Symbiote on Friday August 04, 2017 @02:09AM (#14926687)

  export TIME_STYLE=long-iso
I found this option whilst investigating why most locales were honoured, but en_GB still gave American (backwards) dates.

I also have this, for the thousands-comma display:

  export BLOCK_SIZE="'1"

  $ ls -on i*
  -rw-rw-r-- 1 1001     1,335 2017-06-16 14:31 icon-shelters.svg
  -rw-r--r-- 1 1001 1,633,946 2016-11-07 14:50 insects.png
  -rw-r--r-- 1 1001 1,445,837 2016-11-18 10:32 ix
Block size: https://www.gnu.org/software/coreutils/manual/html_node/Bloc...

Time style: https://www.gnu.org/software/coreutils/manual/html_node/Form...

Re:Exa, a modern replacement for ls by TeMPOraL on Friday August 04, 2017 @02:31AM (#14926765)
Thank you!
Re:Exa, a modern replacement for ls by mkesper on Friday August 04, 2017 @02:16AM (#14926706)
Oh and file sizes should all use the same unit for easy comparing (maybe default to MB).