home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / shell / 5332 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  1.6 KB

  1. 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
  2. From: jhgreen@cs.sandia.gov (Jethro H. Greene)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: File Problem.
  5. Message-ID: <1993Jan10.030232.27763@cs.sandia.gov>
  6. Date: 10 Jan 93 03:02:32 GMT
  7. References: <WRASMAN.93Jan8164326@duncan.utkcs> <1993Jan9.005821.20072@cs.sandia.gov> <1993Jan9.163956.13182@leland.Stanford.EDU>
  8. Sender: usenet@cs.sandia.gov (Another name for news)
  9. Distribution: comp
  10. Organization: Sandia National Laboratories, Albuquerque, NM
  11. Lines: 21
  12.  
  13. In article <1993Jan9.163956.13182@leland.Stanford.EDU> dkeisen@leland.Stanford.EDU (Dave Eisen) writes:
  14. >In article <1993Jan9.005821.20072@cs.sandia.gov> jhgreen@cs.sandia.gov (Jethro H. Greene) writes:
  15. >>In article <WRASMAN.93Jan8164326@duncan.utkcs> wrasman@duncan.utkcs (Mirror Mirror on the wall) writes:
  16. >>>I seem to have accidently created a file that starts out with
  17. >>>a - . I can't get rm to get rid of it and I can mv to another file
  18. >>>name. SO does anyone know how to get rid of a file like this.
  19. >>
  20. >>The shell thinks that when you type '-', you are giving the command options.
  21. >
  22. >The shell has no idea what '-' means, '-' is not a shell
  23. >meta-character. So the shell just passes the '-' along
  24. >to rm. It is rm that thinks you are giving it options,
  25. >not the shell.
  26. >
  27. You're right.  Often, when I am not thinking, I use shell as a synonym for
  28. computer.  Thank you for correcting me.
  29.  
  30. -- 
  31. Jethro H. Greene
  32. Massively Parallel Computing Research Laboratory,
  33. Sandia National Laboratories, Albuquerque, New Mexico
  34.