Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-10-09 10:33:26


Philippe Lalande wrote:

>>After several attempts, I've come with
>>
>> grep "href=\"[^\" ]* .*\"" `find ~/Work/boost -name "*.htm"`
>>
>>which seems to work, producing the attached list.
>
>
> [attached list skipped]
>
> You should also check for the 'name' attribute (or/and 'id' if it is used).
> Only fixing the 'href' will result in broken links.

You're right. The following should work, then

     egrep "(href|name|id)=\"[^\" ]* .*\"" `find ~/Work/boost -name *.htm"`

"e" in "egrep" is to make "(", ")" and "|" work.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk