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
Wed Jan 17 16:25:59 GMT 2007



On Mon, 15 Jan 2007 18:35:32 +0000, "Ian Spillane" <iantheteacher at gmail.com> wrote:
> Folks,
> 
> I've been watching this thread for solutions. It's a problem that has
> annoyed me for sometime and comes up now in education with "learning
> objects" - they're SCORM-compliant zipped websites for online
> training. People make em in Windows and then they get all funny, like
> any website, in Linux.
> 
> So I gave up and wrote the script. It worked for me and seems to fix
> everything - though there no doubt some tags with URLs ignored.
> 
> The script replaces all file names in a folder to lowercase and swap
> underscores for spaces and replaces all <a> <img> and some other tags
> to lowercase (some collateral damage to titles may occur of course).

Hi Ian,

Before I knew a FAT partition would work, this is exactly the sort of script I was looking for so thanks for posting it. I'll be using it to fix the book I'm reading and will then re-submit the fixed book back to the Authers informing them of the problems the original causes. If enough people did this it'd cut down on future hassels for others.

Imagine a world like that!

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