Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-10-04 15:14:01


"Rene Rivera" <grafikrobot_at_[hidden]> skrev i meddelandet
news:452406C8.6010104_at_gmail.com...

[snip]

> Actually it doesn't have to do with specifically with the trailing
> newline. In Unix shells, bash, sh, ksh, etc. it will filter the output
> of command output as arguments (``) such that it replaces all new-lines
> with a space. For example try doing "echo `ls -1`". Since we have to
> handle the case where want to see the new-lines, i.e. the complete raw
> output I'd suggest adding another output processing option to
> SHELL/COMMAND to act as the CLI shell do. Perhaps an
> "eol-delimited-output":
>
> LIBXML_INCLUDES = [ SHELL "pkg-config --cflags libxml-2.0" :
> eol-delimited-output ] ;
>
> One might want to implement a 'ws-delimited-output' at the same time :-)

Why not use MATCH on the output to remove whatever you want? Or am I missing
something?

// Johan


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