Subject: Re: bin/33956: -current /bin/sh possible regression
To: None <,,>
From: Peter Seebach <>
List: netbsd-bugs
Date: 07/12/2006 00:40:02
The following reply was made to PR bin/33956; it has been noted by GNATS.

From: (Peter Seebach)
Subject: Re: bin/33956: -current /bin/sh possible regression 
Date: Tue, 11 Jul 2006 19:38:20 -0500

 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.