problem with make

Brian Pollard b_pollard@trillium.com
Thu Aug 17 09:43:00 GMT 2000


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



More information about the Cygwin mailing list