3 ms·
> most unix tools (ls being the exception) do double duty, they both emit output for other programs and output for the user. Which one you get and how the user
by TeMPOraL 10y ago
> most unix tools (ls being the exception) do double duty, they both emit output for other programs and output for the user. Which one you get and how the user output is presented being controlled by flags.
Which is where they fundamentally break the principle of "doing one thing, and doing it well". Formatting output for user should be a separate step (even if implicitly handled by your shell).
- ygra 10y agoThat's one place where I felt like PowerShell was way more UNIX-y than UNIX commands in that many commands are truly orthogonal.
- cat199 10y ago> Which is where they fundamentally break the principle of "doing one thing, and doing it well". unless the 'thing' here is "outputting information in the most generally usable way possible"