in reply to using glob to find "unwanted" file names

There's no such thing as an illegal character in a filename that's already in a filename. The operating system would have prevented it.

Perhaps you underestimate the ability of standard Unix tools to deal with such odd names. Perhaps you should code your own utilities to take the same care with such names. That'd be a better long-term strategy, instead of trying to find filenames that you find objectionable for no technical reason.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: using glob to find "unwanted" file names

Replies are listed 'Best First'.
Re: •Re: using glob to find "unwanted" file names
by Plankton (Vicar) on Dec 01, 2003 at 21:43 UTC
    I didn't mean illegal from an OS point of view. I am trying to defeat "illegal" cross-site scripting. I thought that would of been obvious, I guess I was wrong. Thanks for all your help.

    Plankton: 1% Evil, 99% Hot Gas.