|
|
|
|
|
by dataflow
1556 days ago
|
|
> There’s nothing complicated, oblique, or arcane, about short options - if one is versed in Unix. Need to list a directory reversively? ls -R
Need to list a directory in reverse? ls -r
Need to sort a list in reverse? sort -r
Need to grep recursively? grep -r
Need to copy recursively? cp -R
cp -r # obsolete!
Definitely not confusing! |
|
Heh, well... I never said it wasn’t confusing. I agree with you on the above.
If the Unix Philosophy was being properly followed, with your ls example, as a case in point, I would use:
Now, that’s not even considering the ridiculousness of the naming of the “tac” command, which would ideally be renamed “rev” - with rev ideally being expanded, to to ALL reversals, not just character based, per line.The sort of nonsense above, is why I started writing my own core utils and OS from scratch - which I suppose is a sort of suckless meme, by now.
POSIX, is both a blessing, and a curse.