delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/17/12:44:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <0E7AA454E229D411A1CB0090274661FF550316@gaea.trillium.com>
From: Brian Pollard <b_pollard AT trillium DOT com>
To: "'Lassi A. Tuura'" <lassi DOT tuura AT cern DOT ch>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: problem with make
Date: Thu, 17 Aug 2000 09:39:03 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

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 DOT tuura AT cern DOT ch]
Sent: Wednesday, August 16, 2000 11:01 PM
To: Heribert Dahms
Cc: Brian Pollard; cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019