On Fri, 2006-04-07 at 19:25, Rich McAllister wrote:
> Oh, I got too wound up in the history and forgot to say:
> 
> I think having pkgchk -P take regexps would be fine, but would prefer 
> shell-style wildcards (* and ? instead of .* and .) --  fnmatch(3C) not 
> regcomp et.al.  It just seems to match the likely uses better.

Now my train of thought has been derailed.

My first use case is:

pkgchk -l -P '/foo$'

("where on earth has the foo command been hidden"). And I guess
I'm thinking of the way I use grep and friends to manipulate the
contents file, so a regexp seemed the obvious extension.

But, yes, I can see that someone coming at ths fresh might
have a different perspective.

-- 
-Peter Tribble
L.I.S., University of Hertfordshire - http://www.herts.ac.uk/
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/



Reply via email to