home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3494 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1014 b   |  32 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!munnari.oz.au!mips!mips!news.cs.indiana.edu!nstn.ns.ca!cs.dal.ca!ug.cs.dal.ca!digdon
  3. From: digdon@ug.cs.dal.ca (Mike Digdon)
  4. Subject: Re: How can I rm a file with a '&' ????
  5. Message-ID: <Bt143B.110@cs.dal.ca>
  6. Sender: usenet@cs.dal.ca (USENET News)
  7. Nntp-Posting-Host: ug.cs.dal.ca
  8. Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
  9. References: <S025H1G@obh.in-berlin.de>
  10. Date: Sat, 15 Aug 1992 14:25:58 GMT
  11. Lines: 19
  12.  
  13. In article <S025H1G@obh.in-berlin.de> nummer_5@obh.in-berlin.de (Christian Wierzbicki) writes:
  14. >Can anybody answer this question... Please be quick cos this file is about
  15. >3 megs of size...
  16. >
  17. >Ciao...
  18. >    nummer_5@obh.in-berlin.de
  19. >
  20. >
  21.  
  22. Easy.. if the filename is test& then simply use:
  23.  
  24.     rm test\&
  25.  
  26. In any case, just put a backslash before the & (or any metacharacter)..
  27.  
  28. -- 
  29.          Mike Digdon - Vice Prez DSCSS - Dalhousie University
  30.              digdon@ug.cs.dal.ca  -- Halifax, NS
  31.           - Real programmers never work nine to five -
  32.