Subject: Re: bin/33956: -current /bin/sh possible regression
To: None <,>
From: Peter Seebach <>
List: current-users
Date: 07/11/2006 19:38:20
In message <>, Rhialto writes:
>Even if one argued that "Testing ${@} fnord" is a meaningful
>substitution, then according to the above definition, it should produce
>zero arguments if there are no positional parameters. Yet,
>    sh -c 'foo() { echo "Testing ${@} fnord"; }; foo'
>produces (on 3.0)
>    Testing  fnord
>which I must consider a bug.

Why?  The @ expanded to nothing, as expected.  It doesn't prevent other
variables from expanding, or other text from continuing to exist.