-
-
Save kaworu/8e70cb7b77c9d6649d2d270e36d1fbf7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
argv_dump() { | |
while [ $# -ne 0 ]; do | |
echo -- $1 | |
shift | |
done | |
} | |
main() { | |
unquoted_options=-m 700 | |
argv_dump $unquoted_options | |
quoted_options="-m 700" | |
argv_dump $quoted_options | |
} | |
main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment