Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!cbmvax!andy From: andy@cbmvax.commodore.com (Andy Finkel) Newsgroups: comp.sys.amiga.programmer Subject: Re: AmigaDOS patterns with '~' Message-ID: <18125@cbmvax.commodore.com> Date: 26 Jan 91 04:07:42 GMT References: <04348.AA04348@ami-cg.UUCP> <17879@cbmvax.commodore.com> Reply-To: andy@cbmvax.commodore.com (Andy Finkel) Organization: Commodore, West Chester, PA Lines: 25 In article rosenber@ra.abo.fi (Robin Rosenberg INF) writes: > >While on the subject; How do I delete files that end with a '~', mg3 >and gnuemacs creates backup files ending with a tilde. Under 2.02 i could use >delete #?[~] and it did the job. Under 2.03 it deletes all files (thanks). You need to escape the ~ character. To escape a wildcard, you preceed it with a ' (single quote) to delete all the files ending with ~ you say delete #?`~ The fact that #?[~] deleted everything is a bug. andy -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "God was able to create the world in only seven days because there was no installed base to consider." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.