portable way to normalize whitespace?
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.
Re: portable way to normalize whitespace?
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 ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature