This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


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

RE: problem with make


It preserves the trailing spaces when the quotes are not used and I believe
it shouldn't.  I wrote the email with quotes to emphasize the trailing
zeros.

thanx
	Brian

so
hehe=.                #comment
makes hehe stored as ".               "
when i think it should only store "." as make does in solarias




-----Original Message-----
From: Lassi A. Tuura [mailto:lassi.tuura@cern.ch]
Sent: Wednesday, August 16, 2000 11:01 PM
To: Heribert Dahms
Cc: Brian Pollard; cygwin@sourceware.cygnus.com
Subject: Re: problem with make


> I never used trailing comments and $(strip) is also new to me,
> but is it really true that the obvious quoted
> var="value      "
> does NOT preserve trailing spaces?

Well, it does preserve the spaces -- but only because as far as make is
concerned, $(var) is `"value      "', quotes and all.  In other words,
there are no trailing spaces in your example :-)

Cheers and have a great week,
//lat
-- 
C makes it too easy to slice your fingers off, and programmers all
over the world are doing so with great regularity.  --Steven Bellovin

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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