automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: portable way to normalize whitespace?


From: Eric Blake
Subject: Re: portable way to normalize whitespace?
Date: Thu, 10 Feb 2011 13:11:54 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/09/2011 11:44 AM, Daily, Jeff A wrote:
> I'm aware of GNU make's text processing functions.  Specifically, I'm looking 
> for the $(strip string) functionality, but hopefully portable.  Is this 
> functionality available portably?  Thanks.

Portably within make, no.  As a shell sub-process, yes, using common
shell text processing programs (such as sed).

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]