Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> > For example, exa prints human-readable file sizes by default (when would you not want that?)

When its being used as part of a script.



Parsing ls is a pain anyway, using "stat --printf=%s" is much better in scripts, in my opinion.


I think for scripting just using stat makes lot more sense than exa (or ls).

Of course alternatively exa could aim for that lovely ls-style experience and vary its output depending on isatty(), switching between human-readable and absolute numbers.


Operative word: by default. If you want the bytes value, you can ask for it (-B).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: