Re: cvs commit: src/usr.bin/make/tests/variables/t2 expected.std

看板DFBSD_commit作者時間21年前 (2005/03/04 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
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
文章代碼(AID): #129u9M00 (DFBSD_commit)
文章代碼(AID): #129u9M00 (DFBSD_commit)