Bash - parsing arguments with ‘getopts’ Bash: parsing arguments with ‘getopts’Handy blog post for using getopts with bash. Used recently at work.