Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!vsi1!wyse!bob From: bob@wyse.wyse.com (Bob McGowen Wyse Technology Training) Newsgroups: comp.unix.questions Subject: Re: Bourne shell globbing (was How do I deal with (null) filenames?) Message-ID: <2338@wyse.wyse.com> Date: 2 Aug 89 02:08:49 GMT References: <2131@jhunix.HCF.JHU.EDU> <2332@wyse.wyse.com> <18846@mimsy.UUCP> <1810@marvin.Solbourne.COM> Sender: news@wyse.wyse.com Reply-To: bob@wyse.UUCP (Bob McGowen Wyse Technology Training) Organization: Wyse Technology Lines: 33 In article <1810@marvin.Solbourne.COM> dce@Solbourne.com (David Elliott) writes: >In article <18846@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >>In article <2332@wyse.wyse.com> bob@wyse.wyse.com >>(Bob McGowen x922-4312 Training) writes: >>> [!!-~].??? --deleted-- > >This one caught me by surprise. I've been programming in the >Bourne shell for a long time, and I never saw this before. Of --deleted-- >Is this standard in System V.2? V.3? Maybe it's just a SunOS-ism? >I'd sure like to be able to use it, but it would help to know >how widely it is available. > An earlier response to my first posting got me to wondering, so I checked. This works under XENIN 2.3.2 (also 2.2.x), SUN os (I don't remember/know version), UNIX SVR3.2. I also think/thought that I had used this on BSD systems, but the earlier followup seems to indicate this is not the case? I have available to me a Fortune Systems 32:16 with ForPro 1.7 (BSD derived version, I believe) and I think it does this also. But will check and confirm. This feature is NOT listed in the metacharacter table on page 76 of Kernighan and Pike's _The UNIX Programming Environment_. I have no idea where I first heard about it nor how available it is. Cheers :-) Bob McGowan (standard disclaimer, these are my own ...) Customer Education, Wyse Technology, San Jose, CA ..!uunet!wyse!bob bob@wyse.com