Newsgroups: comp.unix.questions Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Subject: Re: removing file w/ ^J with csh is strange. Message-ID: <1991Apr3.142937.4971@athena.mit.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology References: <1991Apr1.145556.3160@nntp-server.caltech.edu> Date: Wed, 3 Apr 91 14:29:37 GMT Lines: 31 In article <1991Apr1.145556.3160@nntp-server.caltech.edu>, gwoho@nntp-server.caltech.edu (g liu) writes: |> i accidently created a file named "aa |> " with a bad program. trying to remove it with csh, i used |> |> rm "aa\ |> " |> |> but it said that it could not remove the file: "a |> " |> so i tried rm "aaa\ |> " |> and it worked. this seems very strange to me, and i can not |> figure out why it works that way. i've not tried doing such things |> with sh. % touch "aa\ " % ls aa? % rm "aa\ " % ls % Works for me. Looks like a bug in your version of csh. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710