Last active
December 3, 2015 07:37
-
-
Save YumaInaura/2f84cdd64afcae4f985e to your computer and use it in GitHub Desktop.
シェルスクリプトに環境変数を渡して表示する方法 ref: http://qiita.com/Yinaura/items/978b8c44cbddae1b8df7
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
#!/bin/sh | |
echo $COLOR |
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
$ COLOR=green sh test.sh |
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
green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment