Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 1996 09:13:30 -0500 (EST)
From:      Chuck Robey <chuckr@Glue.umd.edu>
To:        James FitzGibbon <james@teamos2.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to delete strange filename
Message-ID:  <Pine.OSF.3.91.960304091215.11752A-100000@thurston.eng.umd.edu>
In-Reply-To: <Pine.BSF.3.91.960303220218.11059A-100000@teamos2.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960304091215.11752A-100000>