Up to [local] / src / usr.bin / grep
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_3_BASE
Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 9 18:38:37 2017 UTC (6 years, 5 months ago) by pirofti
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.24: +6 -3 lines
Diff to previous 1.24 (colored)
Add support for the non-standard grep -m extension. grep -m num stops after a maximum of num matches are found. We support -m0 to match GNU behaviour, but we do not allow negative numbers. Manpage help from jmc@, OK deraadt@.