On Sun, 2008-02-24 at 08:30 -0600, William Pitcock wrote: > On Sun, 2008-02-24 at 14:00 +0000, Ian Jackson wrote: > > John H. Robinson, IV writes ("Re: dash bug which is affecting release goal"): > > > Pierre Habouzit wrote: > > > > echo() { /bin/echo "$@" } > > > > > > echo() { /bin/echo ${1+"$@"}; } > > > > > > I believe you mean. > > > > Why ?! > > Because stand-alone $@ is undefined when used in this case. By using ${1 > +"$@"}, it is ensured that $@ always starts with $1. > > What a load of POSIX. > > William Oops, I mean "Because the behaviour of stand-alone $@ is undefined". William
Attachment:
signature.asc
Description: This is a digitally signed message part