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

Chris Torek chris at mimsy.UUCP
Tue Aug 1 11:51:51 AEST 1989


In article <2332 at wyse.wyse.com> bob at 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 at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.questions mailing list