Bourne shell globbing (was How do I deal with (null) filenames?)

David Elliott dce at Solbourne.COM
Wed Aug 2 01:25:19 AEST 1989


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:
>>	[!!-~].???
>>
>>The part to the left of the period says anything that is NOT (first
>>exclamation) in the range exclamation to tilde.

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
course, I haven't seen the need to reread the manual for quite
a while, so I could have easily missed it.

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.

-- 
David Elliott		dce at Solbourne.COM
			...!{boulder,nbires,sun}!stan!dce



More information about the Comp.unix.questions mailing list