minus-squarethatsit@sh.itjust.workstoShell Scripting@programming.dev•The Shell Scripting Tutorial: Parsing long command-line arguments with getoptlinkfedilinkEnglisharrow-up1·5 days agoThere is also the manual way, I am not saying it’s perfect but sometimes it offers better alternative than getopt. https://gist.github.com/dgoguerra/9206418 linkfedilink
There is also the manual way, I am not saying it’s perfect but sometimes it offers better alternative than getopt.
https://gist.github.com/dgoguerra/9206418