On 08/26/2010 10:28 AM, Eric Blake wrote:
In some Bourne shells, "$@" with an empty set of positional parameters
may expand to a single empty words, instead of no words at all. Hence
the ${1+"$@"} workaround for ancient shells.

Versions of zsh were the most recently afflicted by this, although it
has been fixed there for several years now.

http://www.in-ulm.de/~mascheck/various/bourne_args/

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to