Created
October 11, 2012 14:30
-
-
Save holybit/3872766 to your computer and use it in GitHub Desktop.
why is the value of FOO : and not foo2:bar1?
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
$ cat /tmp/try.txt | |
export FOO=foo1 | |
export BAR=bar1 | |
export FOO=foo2 | |
export FOO=${FOO}:${BAR} | |
$ eval $(cat /tmp/try.txt) | |
$ echo $FOO | |
: | |
$ echo $BAR | |
bar1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment