Skip to content

Instantly share code, notes, and snippets.

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