Boost logo

Boost-Build :

From: Joao Abecasis (jpabecasis_at_[hidden])
Date: 2005-08-31 10:38:51

Joao Abecasis wrote:
> Hi!
> I'd like to know if it is possible to do pattern matching inside text
> files using only bjam and Boost.Build v2. If this is possible, I'd
> appreciate if someone could give me some pointers. (I may be missing
> something pretty basic...)

Another way to state the problem is how to read the contents of a file
with current bjam + Boost.Build2?

Is there currently a way to do this?

> For my purposes, I want to scan a set of files with a regular expression
> to extract name/value pairs "hidden" within comments in source files.

Something grep-like...

Handling the regular expressions and iterating over files (or even
finding them using GLOB) seems to be the easy part, what I'm really
missing is how to open those files and read their contents.

Any pointers?


João Abecasis


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at