Re:Kernighan and Pike were right: Do one thing, and do it well
by tmtvl on Saturday August 19, 2023 @06:45PM
(#37194103)
I think that most people who need ls's functionality (listing files in a directory) use a GUI application.
[ Parent
| on HN ]
Re:Kernighan and Pike were right: Do one thing, and do it well
by AnimalMuppet on Saturday August 19, 2023 @07:41PM
(#37194484)
Depends on how you define "functionality". You could say that ls's functionality is "providing a text listing of files in a directory. You can't get that from a GUI, certainly not without extra steps.
Why would anyone care about that difference? If I'm reading the listing, I don't care. My eyeballs don't care if the photons came from a GUI or text in a shell. But if I'm trying to pipe the results to another program, then I care. GUIs don't pipe well.
And people like me pipe the results of ls all the time.