At Mon, 14 Mar 2005 17:57:08 +1100, Michael Lake wrote: > Suggested a perl script: > cat titles.html | perl -ne 'm/\.html">([^,]{1,}),/; $name=lc($1); $_ > =~ s/\.html">/\.html#$name">/; print "$_";'
equivalent to: perl -pe 's/\.html">([^,]+),/.html#\L$1\E">/' < titles.html (sorry, should have paid attention earlier :P ) -- - Gus -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html