cvs commit: src/usr.bin/make/tests/variables/t2 expected.stdout test.sh

Max Okumoto okumoto at ucsd.edu
Thu Mar 3 13:02:26 PST 2005


Simon 'corecode' Schubert wrote:
On 03.03.2005, at 20:13, Max Okumoto wrote:

okumoto     2005/03/03 11:13:01 PST

DragonFly src repository

  Modified files:
    usr.bin/make/tests/variables/t2 expected.stdout test.sh
  Log:
  My regression test had a bug in it.  Quoting a value in a Makefile
  causes make(1) to treat it as one word.
  APPLE = "AAA AAA AAA"        # one word
  ORANGE = AAA AAA AAA        # three words


I'm sorry? I never noticed that. Is that because of your changes or is 
it just an effect with sh's parsing?

I always thought that make would parse (well, at least treat as)
FOO=    "POO PAA PEE"
into <"POO>, <PAA>, <PEE">.
maybe i'm completely wrong here
  simon
Nope, it looks like that has been the behavior.  I tested this on
FreeBSD 4.10 system.  It is the behavior of make(1) parsing of
values assigned to variables.  I was just as surprised.
Hey I am glad other people are reading my commit messages :-)
				Max






More information about the Commits mailing list