From: "Roger Barnes" <[EMAIL PROTECTED]>
Date: Mon, 14 Mar 2005 08:35:23 +1100

> Can you not simplay add \l (force next element to lowercase) in your 
> replacement?
> 
> Eg (untested) ...
> 
> cat titles.html | sed 's/"col1"><a 
> href="\(.*\)\.html">\([A-Z][a-z]*\),/"col1"><a href="\1.html#\l\2">\2,/' > 
> test.html

It may work with GNU sed version 4.x(or later).
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to