Writing your own (bash) scripts ?
Including some flexiility using option parameters ?
Noticing the amount of code needed for just parsing these options ?

That's where getoptions may help you out.
Just set up your list-of-options and a single call will do the job.

April 2018 - new version getoptions2 written almost entirely in regular expressions, using sed.
New or improved:
- more accurate parsing / handling of values
- mandatory values
- keywords (non-dashed)
- automatic recognition of -help, DEBUG, TEST
- POSIX compliant (works with Ubuntu's dash)

Features

  • simplified parsing of option parameters for (bash) scripts

Project Activity

See All Activity >

Follow getoptions bash script

getoptions bash script Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of getoptions bash script!

Additional Project Details

Registered

2017-10-12