On Thu, Sep 8, 2016, at 10:11 AM, Greg Reagle wrote: > 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.
At the same time, it is something that everyone has to learn at some point. We are not born knowing this. There was a time before I knew it too. So I don't mean to be critical of you personally.