Ugly file name

Derek Lee-Wo derek at hsi.UUCP
Tue May 16 03:54:25 AEST 1989


In article <1614 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
:Helpful Hints #1273: if you have a file name containing characters that
:the shell assigns special significance to, put the file name in single
:quotes when typing it as a file name:
:
:	% rm 'odds&ends'
:

This doesn't work for filenames that start with a minus. eg -badfile
Anyone know how to erase such files with whipping up a short C program?
-- 
+-----------------------------------------------------------------------------+
|Derek Lee-Wo (Co-op),   Health Systems International, New Haven, CT 06511.   |
|E-mail address :- derek at hsi.com      ...!yale!hsi!derek                      |
+-----------------------------------------------------------------------------+



More information about the Comp.unix.wizards mailing list