This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH doc/refcard.tex


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]