tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: TRE regex



On Tue, 7 Jun 2016 03:37:33 +0000 (UTC)
christos%astron.com@localhost (Christos Zoulas) wrote:

> Awk implements its own (see b.c) (but that does not implement the
> API).

Thank you.  A nice bit of code, too, btw.  

> >As far as I know, we have 3 regex definitions in base: GNU grep,
> >NetBSD sed (with regex(3), defined by re_format(7)), and NetBSD
> >awk.  It would be an improvement IMO to use one implementation for
> >all utilities in base, to make them internally consistent and
> >dependable (and reproducible), even at the expense of compatibilitly
> >with GNU's implementations.  
> 
> 14 (libc, TRE, grep, nvi, cvs, libiberty x 6, gettext, diffutils,
> less) 15 if you count awk.

Why wouldn't I count awk?  

Gah.  I was under the naive impression that re_format and libc ruled
except for GNU utilities.  

--jkl


Home | Main Index | Thread Index | Old Index