in reply to Re: escaping filenames taken in via user input
in thread escaping filenames taken in via user input
Escaping or removing all dots was something I originally considered, but decided against, because it would mangle my file exension. I didn't think to append the extension automatically... duh! How simple. :)
Also, Aristotle++ for pointing out the problem with join "", <FH>. This is something I use often, for no reason other than it seems clear and obvious to me... but if it's grossly inefficient, I'll gladly switch to something else.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: escaping filenames taken in via user input
by Aristotle (Chancellor) on Oct 30, 2002 at 02:30 UTC |