4 ms·
You've gut the nail on the head: dig was designed with the needs of the 90s in mind, where terseness was a virtue (if your ram can be usefully conveyed in kilob
by alphager 3y ago
You've gut the nail on the head: dig was designed with the needs of the 90s in mind, where terseness was a virtue (if your ram can be usefully conveyed in kilobytes, you need terse tools).
Due to backwards compatibility, the output won't be changed. Due to backwards compatibility, stuff is the tool that's installed by default.
Both can't be changed (it would break too many assumptions many scripts and programs have).
However, there are multiple dig alternatives. You just have to install them.
- mst 3y agoI liked jvns' suggestion to add a +human option - plenty of tools have a -h output option which is nicer for quick interactive use, and I value their existence (e.g. I use both 'du -h' and 'du -k' semi regularly depending on if I want to read the results or throw it through an analysis script).