diff --git a/example.sh b/example.sh new file mode 100755 index 0000000..0ebd59c --- /dev/null +++ b/example.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +case "$@" in *--opt-1*) + echo OPT_1 +esac + +case "$@" in *--opt-2*) + echo OPT_2 +esac + +case "$@" in *--opt-3*) + echo OPT_3 +esac