[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rework a problematic use of ${1+"$@"}
From: |
Ralf Wildenhues |
Subject: |
Re: Rework a problematic use of ${1+"$@"} |
Date: |
Thu, 10 May 2007 19:27:19 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.9a |
Hi Noah,
* Noah Misch wrote on Sat, May 05, 2007 at 01:12:21AM CEST:
> Zsh performs field splitting on `${1+"$@"}'; m4sh mostly insulates us
> from this fact with `alias -g '${1+"$@"}'='"$@"''. However,
> this alias is not used if the parameter expansion is part of a
> larger word, such as `"foo"${1+"$@"}'. This patches func_echo to
> avoid the problem, fixing quote.test on Mac OS X 10.1.
Thanks for the analysis and the patch, I installed it.
Cheers,
Ralf
2007-05-10 Noah Misch <address@hidden>
* libltdl/config/general.m4sh (func_echo): Use $* instead of
${1+"$@"}.