Subject: Re: pcvt and TIOCCONS
To: Gordon W. Ross <gwr@mc.com>
From: Alan Barrett <apb@iafrica.com>
List: current-users
Date: 04/21/1996 17:01:08
> > I'd like to see how you would write glob_match.
> wildmat() seems to do what you want.  Here's the head of wildmat.c as
> distributed with INN: 

Then there's also the code that handles pattern matching for "case" 
statements in /bin/sh.  In NetBSD's /bin/sh, that ends up calling 
pmatch() in src/bin/sh/expand.c.

It seems to me that a function like that should be in a library.

--apb (Alan Barrett)