in reply to substitution of illegal chars in filename

I might be way off here, but my guess is that you have fetched a lot of pages from the web, and want to click around between them locally - and you're running into trouble with the characters basically at the "cgi?"-files. Am I right?

Perhaps, then, you should look into fetching the pages again with something like wget. It's made for just that. The -E switch for wget might do what you're after.

Mats

  • Comment on Re: substitution of illegal chars in filename

Replies are listed 'Best First'.
Re: Re: substitution of illegal chars in filename
by lahf (Initiate) on Oct 04, 2003 at 18:01 UTC
    Cheers Matt,
    Thats exactly what I'm doing on linux. I have to as I'm on a 56k modem. wget parses the files, but keeps the filename intact with the ?whatever bit after the filename.
    the -E switch only adds .html to the end of it, so I end up getting filename.cgi.html for instance, its stll parsed as cgi. wget is not to great though, but I dont know what else to use.
    Its a real pain, but my only other choice is to let my wife have the phone 24 hours.
    Its a domestic thing. I do it at night she needs it during the day.

    shed sum calories, lahf a little, then digest more perl