> 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) Cheers, TAA ----------------------------------------------------- Tony Abou-Assaleh Email: [EMAIL PROTECTED] Web site: http://tony.abou-assaleh.net ----------------------[THE END]----------------------
