home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / admin / 7174 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.1 KB  |  52 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!cs.ucf.edu!tarpit!bilver!bill
  3. From: bill@bilver.uucp (Bill Vermillion)
  4. Subject: Re: Can't delete file name " | more " ?
  5. Organization: W. J. Vermillion - Winter Park, FL
  6. Date: Thu, 21 Jan 1993 02:46:28 GMT
  7. Message-ID: <1993Jan21.024628.1943@bilver.uucp>
  8. Keywords: rm, file, delete
  9. References: <1jh76kINN2fn@apache.genrad.com>
  10. Lines: 40
  11.  
  12. In article <1jh76kINN2fn@apache.genrad.com> jbm@apache.genrad.com (John A. Meneghini) writes:
  13. >
  14. >
  15. >Below is a listing of the files in my directory:
  16. >
  17. >bash$ ls -l
  18. >total 302
  19. >-rw-r--r--  1 jbm           790 Jan 14 10:58  | more
  20. >-rw-r--r--  1 jbm           402 Jan 14 11:00  | more 
  21. >-rw-r--r--  1 jbm        182044 Jan 18 11:05 MYMAIL
  22. >drwxr-xr-x  2 jbm           512 Jan  6 09:08 News
  23. >-rw-r--r--  1 jbm         47274 Jan 19 09:14 RMAIL
  24. >-rw-r--r--  1 jbm         47927 Jan 19 09:14 RMAIL.bak
  25. >drwxr-xr-x  2 jbm           512 Jan  7 09:06 bin
  26. >drwxr-xr-x  4 jbm           512 Jan  8 09:04 desktop
  27. >drwxr-xr-x  2 jbm           512 Jan 11 17:05 docs
  28. >drwxr-xr-x  2 jbm           512 Jan 15 14:57 flashdlt
  29. >-rw-r--r--  1 jbm           347 Jan 19 10:15 foo.lis.ckp
  30. >drwxr-xr-x  2 jbm           512 Dec 14 10:13 mail
  31. >-rw-r--r--  1 jbm           617 Jan 11 13:33 make_me.log
  32. >drwxr-xr-x  2 jbm           512 Jan 18 11:07 personal
  33. >drwxrwxrwx  2 jbm           512 Dec 11 11:54 public
  34. >drwxr-xr-x  3 jbm           512 Jan 15 10:40 tora
  35. >-rw-r--r--  1 jbm          1514 Jan 14 10:34 xfig.README
  36. >
  37. >
  38. >As you will notice, I have two files called "| more".  I have been unable to 
  39.                                              ^^^^^^^^^
  40.  
  41. Look at your listing again.  The files are not "| more" but " | more"
  42.  
  43. Quote it for rm as in    rm " | more"   - making sure you get the
  44. leading blank.   The only trick in removing strange files is to get
  45. their name exactly.  You can have embedded characters - non printables
  46. - in the file name too.    To see exactly what these are try
  47. lc -lab    - then control characters will print escaped.
  48.  
  49. -- 
  50. Bill Vermillion - bill@bilver.oau.org  bill@bilver.uucp
  51.                 - ..!{peora|tous|tarpit}!bilver!bill
  52.