Re:Argbash: Bash argument parsing code generator
by cyberdelica on Wednesday March 23, 2022 @01:56PM
(#30781308)
> 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:
ls | tac | column
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.
Re:Argbash: Bash argument parsing code generator
by ramses0 on Wednesday March 23, 2022 @01:02PM
(#30780640)
Thank you, I was trying not to feed the trolls. ;-)
http://www.robertames.com/blog.cgi/entries/the-unix-way-comm...
...I link to some good references that I found w.r.t. command line options which was a useful baseline even for looking at what options your command may try to support.
Re:Argbash: Bash argument parsing code generator
by cyberdelica on Wednesday March 23, 2022 @01:58PM
(#30781336)
> Thank you, I was trying not to feed the trolls. ;-)
Who’s the troll? Your comment is probably out of line with site guidelines mate. Please report yourself to the admins, for attitude realignment.
Need to list a directory reversively?
Need to list a directory in reverse? Need to sort a list in reverse? Need to grep recursively? Need to copy recursively? Definitely not confusing!