4 ms·
All four of which users are enjoined, over and over again, not to try to parse the output of (particularly ls). That is, those are the tools specifically not me
by bandrami 10y ago
All four of which users are enjoined, over and over again, not to try to parse the output of (particularly ls). That is, those are the tools specifically not meant to be connected by pipelines, but merely used for operator convenience.
- qwertyuiop924 10y ago...But how do you extract that data otherwise?
- bandrami 10y agoInstead of ls, find. Instead of ps, you parse the nodes in the /proc filesystem that ps itself parses. Ditto the /sys filesystem and du/df.
- qwertyuiop924 10y agoWhen those tools were written, /sys and /proc didn't exist.