Bash: parsing arguments with ‘getopts’ | rsalveti's random thoughts - http://rsalveti.wordpress.com/2007...
Jun 18, 2014
from
Today I was writing some scripts, and in every script I wanted something to handle all input arguments, in a good way, so I could pass my arguments in any order and my program would know about it. I used ‘getopts’ before, but this time I decided to write some stuff here about it.
- Matteo Marchelli