and if you have problems with this add '--' before the  file
name...

 so:
   rm -- ./-stupid_dash_file
 -or
   rm -i -- ./-stupid_dash_file

The second one will ask before deleting... not always bad to
check before deleting.

@

On Wed, Nov 06, 2002 at 08:54:40AM -0600, Jim Crumley wrote:
> On Tue, Nov 05, 2002 at 04:07:29PM -0600, Daniel Taylor wrote:
> > The nastiest filenames have leading dashes...
> 
> Just use:
> 
> rm ./-stupid_dash_file
> 
> -- 
> Jim Crumley                  |Twin Cities Linux Users Group Mailing List (TCLUG)
> crumley at fields.space.umn.edu |Minneapolis/St. Paul, Minnesota 
> Ruthless Debian Zealot       |http://www.mn-linux.org/ 
> Never laugh at live dragons  |Dmitry's free,Jon's next? http://faircopyright.org
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

-- 
Aaron Thompson
Unix Systems Administrator
College of Natural Science
University of Northern Iowa