3 ms·
> Though it's still pretty hard to beat using pipes and cut to ingest a line-oriented stream of text. Well, a) that's fine for interactive use but awful for un
by IshKebab 3y ago
> Though it's still pretty hard to beat using pipes and cut to ingest a line-oriented stream of text.
Well, a) that's fine for interactive use but awful for unattended use because it's so likely to go wrong, and b) it is actually pretty easy to beat that - JSON and jq is much easier, nicer and more reliable. Or Nushell/Powershell structured pipes. Or an autogenerated properly typed Python interface. Take a look at /proc/self/status before you tell me you'd rather use some awk/cut monstrosity than `jq .ppid`.
> If Fuchsia had beaten out UNIX in some parallel universe, it does look like we'd all be happier.
I'd definitely be happier - I wouldn't spend so much time debugging why Linux stuff breaks!