Created
July 6, 2012 07:25
-
-
Save dekokun/3058647 to your computer and use it in GitHub Desktop.
引数を見てコマンド発行するスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case $1 in | |
hogehoge) | |
hogehoge | |
;; | |
fugafuga) | |
fugafuga | |
;; | |
*) | |
echo hogehoge fugafuga | |
exit 1 | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment