*BSD News Article 24260


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!math.fu-berlin.de!informatik.tu-muenchen.de!wiserner
From: wiserner@Informatik.TU-Muenchen.DE (Bernd Wiserner)
Subject: Re: How do you rm a strange file?
References: <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au> <CGrCK8.JBC@mcs.anl.gov> <1993Nov20.195548.20444@newstand.syr.edu>
Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
Organization: Technische Universitaet Muenchen, Germany
Date: Sun, 21 Nov 1993 15:44:52 GMT
Message-ID: <1993Nov21.154452.1970@Informatik.TU-Muenchen.DE>
Lines: 17

In article <1993Nov20.195548.20444@newstand.syr.edu> smcarey@rodan.syr.edu (Shawn M Carey) writes:
>In article <CGrCK8.JBC@mcs.anl.gov> winans@xray.aps.anl.gov (John R. Winans) writes:
>>In article <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au> tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer 619 491 5161) writes:
>>>...
>
>	There is a "--" flag that appears to be undocumented in the
>man page which tells rm to allow '-' as the first character of a
>filename argument.
>
>% rm -- -lg
>
rm hubba-dubba "-f" ( hubba-dubba may be replaced iwth a filename which doesn't exist.)

>
>-Shawn Carey