LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Replace links with Lowercase

[ILUG] Replace links with Lowercase

Sonic sonic at dreadserver.com
Thu Jan 11 14:10:51 GMT 2007


Hi Jeroen,

Thanks for your reply.

On Thu, 11 Jan 2007 13:36:08 +0000, Jeroen Massar <jeroen at unfix.org> wrote:
> 
> Option A) Use the original source, where filenames most likely where
>           also upper and lowercase mixed.

I am using the original download. They're randomly mixed.
> 
> Option B) Put them on a webserver that ignores case (apache has options
>           for that and a lot of other tricks).
Hmmm... They're just HTML pages. I didn't want to go to that extreme, but I might if I can't do better.

> 
> Option C) Make a loopback filesystem, a bit larger than the content
>           format this with (v)fat/iso9660 and mount it with
>           check=relaxed or related option.
Erm... Still pondering this one.

> 
> Option D) Regex magic, grep for href= img= etc and replace to lowercase.
This is what I was originally looking for. Anyone a Regex wizard?


Cheers,

Sonic




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell