News for hackers. Stuff that matters.
Re:The Rule of Silence (2006) by TeMPOraL on Tuesday December 13, 2016 @02:30PM (#13169968)
ls, ps, du, df, ... pretty much all CLI tools. The kind you use in scripts.
Re:The Rule of Silence (2006) by bandrami on Tuesday December 13, 2016 @03:44PM (#13170801)
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.
Re:The Rule of Silence (2006) by qwertyuiop924 on Tuesday December 13, 2016 @05:17PM (#13171666)
...But how do you extract that data otherwise?
Re:The Rule of Silence (2006) by bandrami on Wednesday December 14, 2016 @08:25AM (#13175743)
Instead 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.
Re:The Rule of Silence (2006) by qwertyuiop924 on Wednesday December 14, 2016 @01:30PM (#13178365)
When those tools were written, /sys and /proc didn't exist.