[Bug 12776] $@ containing quoted string is split into separate arguments

bugzilla at busybox.net bugzilla at busybox.net
Fri Apr 17 08:07:29 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12776

--- Comment #3 from Ron Yorston <rmy at pobox.com> ---
As described in the POSIX document you referenced $@ is a special case when
it's within double quotes (in certain defined circumstances).  Unlike other
quoted expansions it normally *doesn't* expand to a single string.

The bash documentation says of this case:

   That is, "$@" is equivalent to "$1" "$2" ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list