Skip to content. | Skip to navigation

Sections
Personal tools
You are here: Home / Users / Bahman Movaqar / Links / Command Line Options: How To Parse In Bash Using “getopt”
About Me

Programming has always been one my favourites and I deeply enjoyed system programming until I came to know about this ERP thing.  Since then my focus in programming has been on finding ways to develop business applications more efficiently.

 

I blog on http://BahmanM.com.

 

Command Line Options: How To Parse In Bash Using “getopt”

Use “getopt” in a Bash script to parse long and short command line options, enforce arguments for some options and spot dubious user input.