From wiki.bash-hackers.org:
incomplete. When you want to parse commandline arguments in a professional way, getopts is the tool of choice. Unlike its older brother getopt (note the missing !), it's a shell builtin command.
From wiki.bash-hackers.org:
incomplete. When you want to parse commandline arguments in a professional way, getopts is the tool of choice. Unlike its older brother getopt (note the missing !), it's a shell builtin command.