Absolutely correct. Easy once you know how. Learning how can be painful. I heard about the '-f * ' file when I was quite new to Unix. Had to try it out. I was nice and tried it on myself first. Took me a while to figure out to use -- _and_ escape it. ' ' directories are fun too. On Wed, 6 Nov 2002 thompson at math-cs.cns.uni.edu wrote: > 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 > > -- Daniel Taylor dante at plethora.net Forget diamonds, Copyright is forever.