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
Follow getoptions bash script
Other Useful Business Software
Get Avast Free Antivirus | Your top-rated shield against malware and online scams
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of getoptions bash script!