[ale] regexp help

James P. Kinney III jkinney at localnetsolutions.com
Thu Sep 15 14:36:17 EDT 2005


wget -m http://old.website.foo

This will make a local copy AND set all the names to be localized and
drop the entire pile into a directory named old.website.foo .

On Thu, 2005-09-15 at 12:55 -0400, David Hamm wrote:
> Hi,
> 
> I need to move a number of .htm files to a Linux web server,  but the support 
> image file names are all in random case and so are the src= tags.
> 
> Can anyone tell me how to convert the case of the file name referenced in the 
> following line.
> 
> src="../images/XyZ.gif"  to src="../images/xyz.gif"
> 
> I'm working with s/src\=\".*\"/ but don't know how to specify changing the 
> case to lower in the replacement side of the regular expression.
> 
> Thanks.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list