new grep
J.YOUNG
jgy at homxc.UUCP
Wed Jun 29 12:53:08 AEST 1988
In regards to the discussions regarding a grep option to
halt processing upon the first match being found.
A couple more suggestions:
Seems you would like a flag which tells grep whether
to terminate all searching or only on the current file.
How about an option (only appicable when patterns start
with "^") to tell grep that the file is lexically sorted
(?what order?) so it can terminate if the input line
is lexically greater than the pattern (s).
This is usefull for searching through sorted lists (files,
dictionaries, etc...)
John Young
AT&T BL.
Red Hill Rd,
Middletown, NJ 07748
201-615-4412
More information about the Comp.unix.wizards
mailing list