home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!dkeisen
- From: dkeisen@leland.Stanford.EDU (Dave Eisen)
- Subject: Re: File Problem.
- Message-ID: <1993Jan9.163956.13182@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Sequoia Peripherals, Inc.
- References: <WRASMAN.93Jan8164326@duncan.utkcs> <1993Jan9.005821.20072@cs.sandia.gov>
- Distribution: comp
- Date: Sat, 9 Jan 93 16:39:56 GMT
- Lines: 19
-
- In article <1993Jan9.005821.20072@cs.sandia.gov> jhgreen@cs.sandia.gov (Jethro H. Greene) writes:
- >In article <WRASMAN.93Jan8164326@duncan.utkcs> wrasman@duncan.utkcs (Mirror Mirror on the wall) writes:
- >>I seem to have accidently created a file that starts out with
- >>a - . I can't get rm to get rid of it and I can mv to another file
- >>name. SO does anyone know how to get rid of a file like this.
- >
- >The shell thinks that when you type '-', you are giving the command options.
-
- The shell has no idea what '-' means, '-' is not a shell
- meta-character. So the shell just passes the '-' along
- to rm. It is rm that thinks you are giving it options,
- not the shell.
-
-
- --
- Dave Eisen Sequoia Peripherals: (415) 967-5644
- dkeisen@leland.Stanford.EDU Home: (415) 321-5154
- There's something in my library to offend everybody.
- --- Washington Coalition Against Censorship
-