From owner-freebsd-questions Mon Mar 4 06:13:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA02504 for questions-outgoing; Mon, 4 Mar 1996 06:13:44 -0800 (PST) Received: from jolt.eng.umd.edu (jolt.eng.umd.edu [129.2.102.5]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA02499 for ; Mon, 4 Mar 1996 06:13:42 -0800 (PST) Received: from thurston.eng.umd.edu (thurston.eng.umd.edu [129.2.98.206]) by jolt.eng.umd.edu (8.7.3/8.7) with ESMTP id JAA07082; Mon, 4 Mar 1996 09:13:34 -0500 (EST) Received: (from chuckr@localhost) by thurston.eng.umd.edu (8.7.4/8.7) id JAA11729; Mon, 4 Mar 1996 09:13:33 -0500 (EST) Date: Mon, 4 Mar 1996 09:13:30 -0500 (EST) From: Chuck Robey X-Sender: chuckr@thurston.eng.umd.edu 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). > > Is there something I can use to change the switch character, like some of > the DOS C library calls can ? When I get some really strange filename, I write up a really short C program with one call to unlink("really_strange_filename"). It's worked in every case. > > > j. > > PS: Please reply directly, as I'm not on the list. > > > ---------------------------------------------------------------------------- > James FitzGibbon james@teamos2.org > > TeamOS/2 Online admin Voice:(416)410-0100 > Fax:(416)410-0100 > ---------------------------------------------------------------------------- > ========================================================================== Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2 Three Accounts for the Super-users in the sky, Seven for the Operators in their halls of fame, Nine for Ordinary Users doomed to crie, One for the Illegal Cracker with his evil game In the Domains of Internet where the data lie. One Account to rule them all, One Account to watch them, One Account to make them all and in the network bind them.