(toplevel patch) Clean up sed
Alexandre Oliva
aoliva@redhat.com
Fri Dec 27 22:50:00 GMT 2002
On Dec 27, 2002, DJ Delorie <dj@delorie.com> wrote:
>> +CC_FOR_TARGET="\$(STAGE_CC_WRAPPER) "${CC_FOR_TARGET}
> Shouldn't the quotes surround the whole expression? What if
> CC_FOR_TARGET has spaces in it?
It doesn't matter. It would be enough to quote just the space and the
parentheses. Variable expansion occurs after word-splitting, so the
assigned value is not altered by word separators that are not present
in the original command.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gdb-patches
mailing list