Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-10-05 11:22:08


Vladimir Prus wrote:
> On Thursday 05 October 2006 18:44, Rene Rivera wrote:

>> local xs = [ MATCH "([^
>> ]*)" : $(x) ] ;
>
> Will this match \r, \n, both, or an arbitrary combination thereof? There's no
> reason to expect SHELL runs on Unix only ;-)
>
> Devil's advocate for this evening,

:-)

It will match whatever the EOL is on the platform, i.e. \n in C terms.
Of course that assumes the file it's in is correctly translated to the
platform.

-- 
-- 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

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