sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit fe48fbc4e10f19ff8cffacce6e8afa2d25d4d10d
parent a1844fae70993122005e138f68937255da0f091c
Author: sin <sin@2f30.org>
Date:   Thu, 20 Nov 2014 17:02:48 +0000

Break out on first match

Diffstat:
Mgrep.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/grep.c b/grep.c @@ -222,6 +222,7 @@ grep(FILE *fp, const char *str) break; } match = Match; + break; } } if (mode == 'c')