summaryrefslogtreecommitdiffstats
path: root/misc-utils/getopt-parse.bash
Commit message (Collapse)AuthorAgeFilesLines
* getops: improve getopt-parse.bash exampleSami Kerola2016-07-271-28/+56
| | | | | | | | | | Use correct names of example scripts in the script. Remove use of backticks, they require quoting that makes the example harder to follow. Split one-liners to one-command-at-a-time expressions. Add continue keyword to avoid additional case statement matching. Be strict with quoting. Reported-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* getopt: use $(...) command substitution in example script [shellcheck]Sami Kerola2015-06-291-2/+2
| | | | | Reference: https://github.com/koalaman/shellcheck/wiki/SC2006 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: move getopt to misc-utils/Karel Zak2012-06-261-0/+47
Signed-off-by: Karel Zak <kzak@redhat.com>