From owner-freebsd-questions Sun Mar 3 20:49:07 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA03511 for questions-outgoing; Sun, 3 Mar 1996 20:49:07 -0800 (PST) Received: from nike.efn.org (garcia.efn.org [198.68.17.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA03505 for ; Sun, 3 Mar 1996 20:49:04 -0800 (PST) Received: (from gurney_j@localhost) by nike.efn.org (8.6.11/8.6.9) id UAA05129; Sun, 3 Mar 1996 20:49:56 -0800 Date: Sun, 3 Mar 1996 20:49:54 -0800 (PST) From: John-Mark Gurney Reply-To: John-Mark Gurney To: James FitzGibbon cc: freebsd-questions@freebsd.org Subject: Re: How to delete strange filename In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Sun, 3 Mar 1996, James FitzGibbon wrote: > > Okay, stupid question here: > > Somehow, I've got a file called "-i" in my home directory. How do I > remove it? Everything I've tried attempts to parse the "-i" as a > parameter, even with quotes (all varieties). try "rm -- -i" > Is there something I can use to change the switch character, like some of > the DOS C library calls can ? well... there's always unlink.... John-Mark gurney_j@efn.org http://resnet.uoregon.edu/~gurney_j/ Modem/FAX: (541) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)