Created
June 9, 2017 06:39
-
-
Save jsarenik/1718da983c53dbd89bab2757a743cbef to your computer and use it in GitHub Desktop.
Quoted arguments in shell
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
for i in $(seq $#) | |
do | |
ARGS="$ARGS \"$(eval $(echo echo \$$i))\"" | |
done | |
echo $ARGS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment