in reply to deleting directory named -I (as Ice).
This is really more a unix question than a perl question, but... rm ./-I will delete the file. So long as the first character is not a dash, then it works fine. Quotes are stripped by the shell, so they don't count as characters.
Update: D'oh! As pepik_knize pointed out below, it's a directory, not a file. rmdir ./-I is what I should have said.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: deleting directory named -I (as Ice).
by pepik_knize (Scribe) on May 22, 2002 at 06:00 UTC |