> > 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: [EMAIL PROTECTED] Web site: http://tony.abou-assaleh.net ----------------------[THE END]----------------------
