[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Theo Zourzouvillys wrote:
after searning the grep man page for far too long, i see no option for grep exit after finding X number of (line) matches - anyone know of an easy way, short of piping the output through to somethign else?
Didn't Larry sum it up with his comments on allowing AWK to be better at something. There maybe some arcane regular expression that can ignore the end of lines, and drop out as many copies as are coded in the regexp, but let it go. Back to your regularly scheduled perl programming. -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.