> > I have a file on my machine that I created that begins with a hyphen. > How can I delete it. rm -test says can't delete est using option -t (or > whatever). How do I tell it not to use the hyphen as a switch? > >
The easiest (and more portable since not all versions of rm include the "--" option) of doing it is: rm ./-test Richard.. --------------------------------------------------------------------- Richard Dansereau Email: [EMAIL PROTECTED] Home page: http://pobox.com/~rdanse Electrical and Computer Engineering - University of Manitoba - Canada --------------------------------------------------------------------- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .