Re: rm a '-R' file

2001-11-11 Thread Richard Cobbe
Lo, on Saturday, November 10, Lance Hoffmeyer did write: > I have a file that was created called "-R". How > do I delete this file? `rm ./-R' will work. In addition, most of the GNU utils accept the special parameter `--' to mean ``everything else on this command line is a filename, not an opti

Re: rm a '-R' file

2001-11-11 Thread René Seindal
How about "rm ./-R" Lance Hoffmeyer wrote: I have a file that was created called "-R". How do I delete this file? Lance -- René Seindal ([EMAIL PROTECTED]) http://www.seindal.dk/rene/

Re: rm a '-R' file

2001-11-11 Thread MH
rm -- -R "--" indicates that the following isn't an option --> rm --help info rm HTH, MH -- (Dr.) Michael Hummel mailto: [EMAIL PROTECTED] || [EMAIL PROTECTED] -- fprint = F24D EAC6 E3D7 372C 9122 D510 EB24 01CA 0B56 B518 id: 1024D/0B56B518 key: http://www.seitung.net/key pgptzFaaAlB3y.pgp De

Re: rm a '-R' file

2001-11-11 Thread sloopy malibu
on 11/10/01 10:17 PM using moldy cheese [EMAIL PROTECTED] engraved this message > I have a file that was created called "-R". How > do I delete this file? > > Lance > i had a similar experience with a file named '#26393' created by fsck when i would 'cd #26393' it would send me to my home dir

Re: rm a '-R' file

2001-11-10 Thread Osamu Aoki
On Sat, Nov 10, 2001 at 09:17:43PM -0600, Lance Hoffmeyer wrote: > I have a file that was created called "-R". How > do I delete this file? read "man rm". "rm -- -R" should do it. If unsure (like me) $ mv -- -R xxx $ ls -l xxx $ rm xxx cheers :-) -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+

rm a '-R' file

2001-11-10 Thread Lance Hoffmeyer
I have a file that was created called "-R". How do I delete this file? Lance