From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-10-04 15:26:18


Johan Nilsson wrote:
> "Rene Rivera" <grafikrobot_at_[hidden]> skrev i meddelandet
> news:452406C8.6010104_at_gmail.com...
>
>> 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?

Not missing anything :-) One advantage to doing this at the SHELL level
is that it will use less memory, because it can parse the output as it
comes in and hence saves of having the possibly big output string around.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo