|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-10-11 12:34:48
At 11:33 AM 10/9/2002, Vladimir Prus wrote:
>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.
Thanks,
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk