Comment Comment by sacnoradhq I don't know where you learned shell scripting, but your formatting is very confusing and nonstandard.- while...; do / if ...; then- space before ;;- no space before case match- use util-linux getopt because getopts doesn't handle long args- DRY with a die() function rather than exits littered all over parent sacnoradhq 3 years ago
- while...; do / if ...; then
- space before ;;
- no space before case match
- use util-linux getopt because getopts doesn't handle long args
- DRY with a die() function rather than exits littered all over