Bourne shell globbing (was How do I deal with (null) filenames?)
Bob McGowen Wyse Technology Training
bob at wyse.wyse.com
Wed Aug 2 12:08:49 AEST 1989
In article <1810 at marvin.Solbourne.COM> dce at Solbourne.com (David Elliott) writes:
>In article <18846 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>>In article <2332 at wyse.wyse.com> bob at 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 at wyse.com
More information about the Comp.unix.questions
mailing list