Re: -t file

From: Bruce Harvey (BruceH@ROUTESCAPE.COM)
Date: Mon Mar 17 2003 - 13:48:46 EST


If written properly, a program using the 'getopt()' routines will stop
processing command line options when you include '--' as an option. It is a
flag to do just what you want. Therefore, 'rm -- -t' should work
just fine.

----------------------------------
Bruce T. Harvey (Special Projects)
----------------------------------------
bth@comcast.net -- bruceh@routescape.com
410-236-5721 (cell) -- 410-403-2390 (off.)
-------------------------------------------
Insight Distribution Systems / CoAxis, Inc.
Hunt Valley, Maryland U.S.A. 21031-1422
-------------------------------------------

-----Original Message-----
From: Stephen Spalding [mailto:ssaixadm@YAHOO.COM]
Sent: Monday, March 17, 2003 1:34 PM
To: aix-l@Princeton.EDU
Subject: [aix-l] -t file

Hello all,

A user on one of our AIX systems has somehow managed
to create a file called "-t". I've gone through my bag
of tricks trying to remove it, but I can't seem to
delete it. In fact, the only way that I can even do a
listing of the file is with 'ls -l'. Here is what the
file looks like:

soms01dx root /
> ls -l
total 92248
-rw-r--r-- 1 garneem quest 9729 Mar 17 12:29 config
-rw-r--r-- 1 root quest 1988 Mar 17 12:29 qdb
-rw-r--r-- 1 garneem quest 1196 Mar 17 12:21 -t

Does anyone have any idea how to get rid of this file?

Thanks!

-Stephen Spalding

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:40 EDT