3 ms·
"Everything is a file" Unix is an OS for I/O streams / lines. That's what it's good at. That's what the tools are designed for.
by jbverschoor 5y ago
"Everything is a file"
Unix is an OS for I/O streams / lines. That's what it's good at. That's what the tools are designed for.
- vbezhenar 5y agoAnd that's how they spectacularly fail when something does not fit into that paradigm. Like file name with `\n`. Apparently now you need `\0`-separated lines and all the tools need `-0` or `-z` switches, console does not print it well and all that card house breaks apart.
- jbverschoor 5y agoYup. It's a nice abstraction, but for many things an object-graph / object-stream makes more sense. The output / rendering can be a tree or a table.
- sebazzz 5y agoWhich is the reason I love PowerShell.