From owner-freebsd-questions Thu Feb 3 9: 6:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from athena.connectalk.com (athena.connectalk.com [204.19.165.44]) by builder.freebsd.org (Postfix) with ESMTP id 5DEAF4059 for ; Thu, 3 Feb 2000 09:06:23 -0800 (PST) Received: from connectalk.com ([10.125.204.47]) by athena.connectalk.com (Netscape Messaging Server 3.6) with ESMTP id AAA55C4; Thu, 3 Feb 2000 12:05:59 -0500 Message-ID: <3899B671.8050BFCE@connectalk.com> Date: Thu, 03 Feb 2000 12:10:09 -0500 From: Michel Adamus Organization: ConnecTalk X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mauricio Marquez Cc: freebsd-questions@FreeBSD.ORG Subject: Re: deleting a nasty directory entry References: <3.0.32.20000203105930.017d86e0@enlace.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From the rm man pages The rm command uses getopt(3) to parse its arguments, which allows it to accept the `--' option which will cause it to stop processing flag op- tions at that point. This will allow the removal of file names that be- gin with a dash (`-'). For example: rm -- -filename -A. Mauricio Marquez wrote: > > How do I go about deleting a nasty directory entry that goes something like: > > ???`???Nop???KUI??o?N?k > > If I try rm I get Unmatched ` . Big mistake if I try rm ???*.* or something > similar. > > It just bothers me that itīs there everytime I ls. > > Thanks, > > Mauricio > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- - Throw me a bone here someone... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message