Created
March 10, 2015 12:39
-
-
Save dobrokot/32220e3daff1d2c21c8c to your computer and use it in GitHub Desktop.
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
A=10; B=20; bash -c "A=30; B=40; foo() { echo $A \$B; }; declare -f foo" | |
------------------------------------ | |
Output: | |
foo () | |
{ | |
echo 10 $B | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment