Created
August 6, 2012 14:16
-
-
Save Frost/3274714 to your computer and use it in GitHub Desktop.
set bash variables
This file contains 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
$ bash ./test.sh | |
bar |
This file contains 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
export FOO=bar | |
bash ./test2.sh |
This file contains 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
echo $FOO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment