[Top][All Lists]

[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: Mon, 29 Oct 2007 15:57:29 -0300 (ADT)

> Which sounds like an incredible headache,
> grep being so strongly line-oriented.  So maybe grep is not the right
> place to test newlines in patterns ...

I disagree here. With a bit of effort we should be able to change \n to
any single character. 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).

Further, -z already allows for null-terminated record in files in stead of
end-of-line-terminated records. I know there were many bugs with -z, some
of which may already be fixed. And we'll fix the remaining ones :O)



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]