3 ms·
Someone needs to port PowerShell to Unix :-) I'm confused about the response to his tweet though - ls has a lot of switches, but I can't really see any that do
by chris_wot 11y ago
Someone needs to port PowerShell to Unix :-)
I'm confused about the response to his tweet though - ls has a lot of switches, but I can't really see any that don't do something with listing files.
And then the response is "Unfortunately, the lineage is _not_ Unix -> Linux. It is Unix -> Plan 9. Linux doesn't follow Unix philosophy :-("... Except Unix's ls eventually had 19 options, and the ls used by Linux is a port Gnu's coreutils.
Nevertheless, I tend to agree. ls does a lot of formatting that could be moved to ancillary utilities. I guess what I like about PowerShell is the way it allows for redirecting into objects - that really is an innovation that Unix shells don't have (at least as far as I'm aware...).