On Thu, Sep 8, 2016, at 10:05 AM, Kamil Cholewiński wrote:
> Wow, shell quoting is just fucked up crazy. I was mostly using unquoted
> $@ my whole life. And here I thought I knew enough not to screw up a
> simple script,

It is common knowledge to always double-quote $@, i.e. "$@", in
Bourne/Posix shell.

> but there just always seems to be a new hidden gotcha.

Indeed.  It sucks.  Use an unbroken shell like rc and these troubles are
behind you.

Reply via email to