Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc.cso.uiuc.edu!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Bourne shell globbing (was How do I deal with (null) filenames?) Message-ID: <18846@mimsy.UUCP> Date: 1 Aug 89 01:51:51 GMT References: <2131@jhunix.HCF.JHU.EDU> <2332@wyse.wyse.com> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 In article <2332@wyse.wyse.com> bob@wyse.wyse.com (Bob McGowen x922-4312 Training) writes: >If you are using the Bourne shell, the following pattern should work: > > [!!-~].??? > >The part to the left of the period says anything that is NOT (first >exclamation) in the range exclamation to tilde. The standard Bourne shell---that is, the one in Version 7; the one in 4BSD is essentially identical---does not have negation in glob patterns. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris