added example script
This commit is contained in:
parent
41e20ecc93
commit
d36d42f883
13
example.sh
Executable file
13
example.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user