home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!elam.mdl.sandia.gov!cs.sandia.gov!jhgreen
- From: jhgreen@cs.sandia.gov (Jethro H. Greene)
- Newsgroups: comp.unix.shell
- Subject: Re: File Problem.
- Message-ID: <1993Jan10.030232.27763@cs.sandia.gov>
- Date: 10 Jan 93 03:02:32 GMT
- References: <WRASMAN.93Jan8164326@duncan.utkcs> <1993Jan9.005821.20072@cs.sandia.gov> <1993Jan9.163956.13182@leland.Stanford.EDU>
- Sender: usenet@cs.sandia.gov (Another name for news)
- Distribution: comp
- Organization: Sandia National Laboratories, Albuquerque, NM
- Lines: 21
-
- In article <1993Jan9.163956.13182@leland.Stanford.EDU> dkeisen@leland.Stanford.EDU (Dave Eisen) writes:
- >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.
- >
- You're right. Often, when I am not thinking, I use shell as a synonym for
- computer. Thank you for correcting me.
-
- --
- Jethro H. Greene
- Massively Parallel Computing Research Laboratory,
- Sandia National Laboratories, Albuquerque, New Mexico
-