summaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.h
AgeCommit message (Expand)Author
2015-03-16Include limits.h, not sys/limits.h and include stdint.h for SIZE_MAX.Todd C. Miller
2015-01-101. They're flags, not counters. Set to one instead of incrementing.Ted Unangst
2014-12-01use reallocarray()Theo de Raadt
2013-11-26unsigned char casts for ctypeTheo de Raadt
2012-12-29Fix exit status when there is an error reading a file.Todd C. Miller
2011-07-08add support for -o to only print the match.Ted Unangst
2011-03-04add -H (opposite of -h) to always print name. ok deraadt millertTed Unangst
2010-04-05remove some non-POSIX standard non-GNU defacto standard options, mostlyTed Unangst
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-02-09delint; remove redundant vars and functions; ok jaredy@Otto Moerbeek
2004-10-03Remove block based mmap optimization. There are newline problemsOtto Moerbeek
2004-05-07Add a new past path for fgrep that is just a simplified version ofTodd C. Miller
2004-01-25Previously, in -w mode, for each match on a line grep would checkTodd C. Miller
2004-01-19Use off_t for file sizes, and don't forget to print a ':' when usingOtto Moerbeek
2003-07-02protosTheo de Raadt
2003-06-25o remove useless cast to int from gzread() callTodd C. Miller
2003-06-25Function prototypes that take no args should have (void) as the parameter.Todd C. Miller
2003-06-24actually do fgrep. -G -F and -E are now mutally exclusive, and overrideTed Unangst
2003-06-23faster grep for simple patterns. derived from a patch by sean farley.Ted Unangst
2003-06-23better detetection/handling of binary files.Ted Unangst
2003-06-22proper $OpenBSD$Theo de Raadt
2003-06-22freegrep 0.16Theo de Raadt