bug-grep
[Top][All Lists]
Advanced

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

Re: dfa.h / dfa.c diff versus gawk attached


From: Tony Abou-Assaleh
Subject: Re: dfa.h / dfa.c diff versus gawk attached
Date: Wed, 31 Oct 2007 12:26:03 -0300 (ADT)

> > Allowing patterns to be record terminators is a bit harder, but has been
> > done elsewhere and could eventually be ported to grep as well (not any
> > time soon though).
>
> Gawk does this.  The code could likely be pulled out into something 
> standalone,
> but I see no need for grep to morph into gawk. :-)

I think I came across a limitation once where (g?)awk couldn't handle a
file because the lines were too long. I don't know if it was related to
record splitting into fields or not.

It is a good point though: gawk and grep don't have to merge. Maybe some
of the features suggested for grep could be added to gawk instead .. but I
don't have anything in particular in mind at this point.

Cheers,

TAA

-----------------------------------------------------
Tony Abou-Assaleh
Email:    address@hidden
Web site: http://tony.abou-assaleh.net
----------------------[THE END]----------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]