It's non-obvious and depends on the order of expansions specified for the shell interpreter language.
I wasn't aware of it, but then I don't write code that allows programmatic user acct creation via user input.
-
-
there will also be fun if
$HOME contains shell metacharacters -
Generally people know to put parameter expansions in double quotes, but tilde doesn't work there.
-
See the order of expansions: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.