Boost logo

Boost-Build :

Subject: Re: [Boost-build] string manipulation
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-10-13 17:36:06


On 10/13/2016 4:05 PM, Stefan Seefeld wrote:
> Reading some BB jam files I see constructs such as $(var:E=) that
> suggest some way to process the content of 'var' before returning it.
> I'm struggling to find documentation for this feature in the BB docs.
> Can someone please help ?

http://www.boost.org/build/doc/html/jam/language.html#jam.language.variables.expansion

>
> Specifically, I have a variable that captures the output of an external
> tool I have executed. How can I strip off the trailing newline from that
> when I assign that to another variable ?
>
>
> Thanks,
>
> Stefan
>
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk