[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: White Space Problems--Again
From: |
Tom Browder |
Subject: |
Re: White Space Problems--Again |
Date: |
Sat, 28 Mar 2009 16:49:59 -0500 |
On Sat, Mar 28, 2009 at 3:49 PM, Philip Guenther <address@hidden> wrote:
> On Sat, Mar 28, 2009 at 5:36 AM, Tom Browder <address@hidden> wrote:
>> I know there are words in the Make manual warning about insidious
>> white space at the ends of strings, but is there any reason that Make
>> couldn't do trimming during parsing?
>
> Well, the POSIX standard requires the current behavior.
>
> It's also part of the documented way of getting a variable that
> contains just whitespace, so there are presumably makefiles out there
> that make use of current behavior. Changing the behavior would break
> those makefiles and create a general version incompatibility problem.
The GNU Coding Standards allow extensions to POSIX behavior. Why
shouldn't GNU Make have an extension to have the trimming behavior?
A survey of folks who actually rely on the current Make behavior on
white space versus those who find it awkward and non-intuitive would
be interesting.
-Tom
- White Space Problems--Again, Tom Browder, 2009/03/28
- Re: White Space Problems--Again, Rick Flower, 2009/03/28
- Re: White Space Problems--Again, Philip Guenther, 2009/03/28
- Re: White Space Problems--Again,
Tom Browder <=
- Re: White Space Problems--Again, Stephan Beal, 2009/03/28
- Re: White Space Problems--Again, Tom Browder, 2009/03/28
- Re: White Space Problems--Again, Stephan Beal, 2009/03/28
- Re: White Space Problems--Again, Tom Browder, 2009/03/28
- Re: White Space Problems--Again, Paul Smith, 2009/03/28
- Re: White Space Problems--Again, Tom Browder, 2009/03/29
- Re: White Space Problems--Again, Greg Chicares, 2009/03/28