Created
November 30, 2018 18:40
-
-
Save xurizaemon/763436658dd941daa15989ed8e52b00e to your computer and use it in GitHub Desktop.
urls & ampersands in shell env
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
$ ./test.sh http://example.org?a=b&c=d | |
[1] 7753 | |
$1 is http://example.org?a=b | |
[1]+ Done ./test.sh http://example.org?a=b | |
$ ./test.sh "http://example.org?a=b&c=d" | |
$1 is http://example.org?a=b&c=d |
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
#!/usr/bin/env bash | |
echo "\$1 is $1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment