From owner-freebsd-questions Mon Mar 4 09:05:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA14485 for questions-outgoing; Mon, 4 Mar 1996 09:05:56 -0800 (PST) Received: from phoenix.volant.org (root@[205.179.79.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA14476 for ; Mon, 4 Mar 1996 09:05:46 -0800 (PST) From: patl@asimov.volant.org Received: from asimov.volant.org (asimov.volant.org [205.179.79.65]) by phoenix.volant.org (8.6.11/8.6.9) with SMTP id JAA15288; Mon, 4 Mar 1996 09:03:05 -0800 Received: by asimov.volant.org (5.x/SMI-SVR4) id AA28383; Mon, 4 Mar 1996 09:05:17 -0800 Date: Mon, 4 Mar 1996 09:05:17 -0800 Message-Id: <9603041705.AA28383@asimov.volant.org> To: freebsd-questions@freebsd.org, james@teamos2.org Subject: Re: How to delete strange filename Reply-To: patl@Phoenix.volant.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Md5: j1wobuoTAi8bfpjM4DkTEA== Sender: owner-questions@freebsd.org Precedence: bulk |> 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). |> |> Is there something I can use to change the switch character, like some of |> the DOS C library calls can ? The easiest way is: rm ./-i -Pat