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