Xref: utzoo comp.unix.xenix:5992 comp.unix.questions:13613 comp.unix.wizards:16150 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mfci!hsi!derek From: derek@hsi.UUCP (Derek Lee-Wo) Newsgroups: comp.unix.xenix,comp.unix.questions,comp.unix.wizards Subject: Re: Ugly file name Keywords: rm cat mv regexp Message-ID: <448@hsi86.hsi.UUCP> Date: 15 May 89 17:54:25 GMT References: <128@tdl.UUCP> <7170@bsu-cs.bsu.edu> <1614@auspex.auspex.com> Reply-To: derek@hsi86.UUCP (Derek Lee-Wo) Distribution: usa Organization: Health Systems Intl., New Haven, CT Lines: 15 In article <1614@auspex.auspex.com> guy@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@hsi.com ...!yale!hsi!derek | +-----------------------------------------------------------------------------+