home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!chester.ksu.ksu.edu!news
- From: probreak@chester.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.unix.shell
- Subject: Re: How can I rm a file with a '&' ????
- Date: 4 Sep 1992 01:19:59 -0500
- Organization: Kansas State University
- Lines: 26
- Message-ID: <186v6fINNb71@chester.ksu.ksu.edu>
- References: <1992Aug24.081355.6563@physiol.su.OZ.AU> <1992Aug27.111454.9889@mr.med.ge.com> <1992Sep02.115715.11415@cadlab.sublink.org>
- NNTP-Posting-Host: chester.ksu.ksu.edu
-
- albani@cadlab.sublink.org (Lanfranco Albani) writes:
-
- >hinz@picard.med.ge.com (David Hinz Mfg 4-6987) writes:
- >:Well, the following works on MY system (Sun 4.1.1):
- >:
- >:rm 'big&cow'
- >:
- >:as someone else had mentioned. Perhaps NOGLOB has to be set, though.
-
- In csh, this works fine:
-
- 1:17am:chester:/tmp>cat > big\&cow
- lll1:17am:chester:/tmp>ls big*
- big&cow
- 1:17am:chester:/tmp>rm big\&cow
- 1:17am:chester:/tmp>ls big*
- ls: No match.
- 1:17am:chester:/tmp>
-
- Just remember most funny characters can be replaced with \(funny char)
-
-
- ----------------------- ---------------------------
- -Oh the joy of finding- James Chacon -probreak@matt.ksu.ksu.edu-
- -That last pizza slice- ---------------------------
- ----------------------- ---------------------------
-