On Wed, Mar 21, 2012 at 10:24 AM, Andreas Marschke <andreas.marsc...@googlemail.com> wrote: > Dear Maintainers of bash, > > it has come to my attention that bash is unexpectedly removing quotes > from parameters given to a script if read from within the > script. See attached shell-script for a full explanation. > > -- > Cheers, > > Andreas Marschke
You must use "$@", never $@. Quote ALL of your expansions. See http://mywiki.wooledge.org/Arguments and http://mywiki.wooledge.org/Quotes for more information on what's going on here.