OpenBSD CVS

CVS log for src/usr.bin/grep/grep.h


[BACK] 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@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.