This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH doc/refcard.tex
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: PATCH doc/refcard.tex
- From: mir at solfege dot France dot Sun dot COM (Adam Mirowski)
- Date: Tue, 2 Jan 2001 16:30:08 +0100
- Cc: gdb-patches at sources dot redhat dot com
Eli Zaretskii wrote:
> However, this change seems to be deliberate:
>
> Tue May 23 22:57:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
>
> * Makefile.in (refcard.dvi): Remove quotes around REFEDITS in for
> loop.
>
> Andrew, can you tell why did you remove the quotes back in May?
Note that quotes introduce a different behavior if the variable is
expanded by the shell rather than by make. The script:
VAR="a b c"
for f in $VAR ; do echo $f ; done
for f in "$VAR" ; do echo $f ; done
gives
a
b
c
a b c
Maybe the removal of double-quotes was a precaution against this?
Happy New Year.
-Adam