summaryrefslogtreecommitdiff
path: root/usr.bin/grep/util.c
AgeCommit message (Expand)Author
2003-07-20After some discussion on icb it seems a do {} while is what we wantTodd C. Miller
2003-07-20Close PR 3358 by changing the loop from do {} while -> for; tdeval@ OKTodd C. Miller
2003-07-10restore grep -v semantics, print lines that don't match any (mismatch all)Daniel Hartmeier
2003-07-10grep should exit(2) on error, not exit(1) (1 means no matches found).Todd C. Miller
2003-07-06no need to redefine strlcpy here; millert@ okAnil Madhavapeddy
2003-07-01Fix bounds check in the fast grep code that caused an incorrectTodd C. Miller
2003-06-25o remove useless cast to int from gzread() callTodd C. Miller
2003-06-25knfTheo de Raadt
2003-06-24Make 'grep -w' work; OK tedu@Todd C. Miller
2003-06-24actually do fgrep. -G -F and -E are now mutally exclusive, and overrideTed Unangst
2003-06-24don't print "Binary file matches" with -q flag. from Sean FarleyTed Unangst
2003-06-23faster grep for simple patterns. derived from a patch by sean farley.Ted Unangst
2003-06-23minor tweaksTheo de Raadt
2003-06-23better detetection/handling of binary files.Ted Unangst
2003-06-22proper $OpenBSD$Theo de Raadt
2003-06-22-DNOZ flag to be used by install media for removing z*grep support, ifTheo de Raadt
2003-06-22freegrep 0.16Theo de Raadt