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
signature.asc
Description: This is a digitally signed message part