shell to call other shell
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# V0.1
|
||||
|
||||
|
||||
### DEFINITIONS
|
||||
|
||||
MY_PATH="$(pwd)"
|
||||
#. $MY_PATH/bin/_inc/def_text_coloring.sh
|
||||
|
||||
|
||||
### PRORGAM
|
||||
|
||||
echo "Action: $1"
|
||||
|
||||
case $1 in
|
||||
1) echo "play" ;;
|
||||
*) echo "INVALID ACTION!" ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user