Ahh, yes, that would make more sense -- the chmod
command wouldn't be creating directories, would it?
Anyway, to help you clean up what you've created, try
to capture the directory name with a glob from the shell,
like ls *dirname* to see if it will list it,
then rm -ri *dirname* to delete it (substituting
whatever glob you use to find the directory, naturally).
| [reply] |
Actually, I tried and failed to get my shell to let me delete a directory with
a "\n" in it....
...but of course, since perl created the directory,
it can remove it as well.
DaWolf - it's probably easiest to just change the script to use
rmdir to undo the 'damage' before you fix the chomp bug
Have fun,
rdw
| [reply] |