Age | Commit message (Expand) | Author |
2022-06-26 | add --null to usage() forgot in previous commit. reminded by jmc@, thanks! | op |
2022-06-26 | grep: add --null flag | op |
2020-07-23 | Change line counter from int to unsigned long long to reduce overflow. | Martijn van Duren |
2019-12-03 | With -R and an implicit ".", don't prepend file paths with "./" | Jeremie Courreges-Anglas |
2019-12-02 | With -R assume that "." was passed instead of printing a warning | Jeremie Courreges-Anglas |
2019-10-07 | add --label to usage. thx jmc | Ted Unangst |
2019-10-07 | two compat features to allow the zstdgrep script to work. | Ted Unangst |
2019-07-18 | Delete documentation of --max-count, which is merely an alias of | Ingo Schwarze |
2019-01-31 | convert fgetln to getline. this improves portability and sets a good | Ted Unangst |
2019-01-23 | rework grep_open to be more careful about directories. | Ted Unangst |
2017-12-10 | - add max-count to SYNOPSIS | Jason McIntyre |
2017-12-09 | Add support for the non-standard grep -m extension. | Paul Irofti |
2015-11-28 | fix exit status on pledge(2) error, where it should be >1 | Gleydson Soares |
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt |
2015-10-03 | grep only opens files read-only, reads via stdio or other methods, performs | Theo de Raadt |
2015-08-27 | use strtonum to parse the number of lines of context. | David Gwynne |
2015-04-30 | Add warning when user specifies -R but no files, like GNU grep. | Todd C. Miller |
2015-03-16 | Don't include limits.h or sys/limits.h since grep.h already does it | Todd C. Miller |
2015-01-10 | 1. They're flags, not counters. Set to one instead of incrementing. | Ted Unangst |
2014-12-01 | use reallocarray() | Theo de Raadt |
2014-11-26 | Prefer setvbuf() to setlinebuf() for portability; ok deraadt@ | Todd C. Miller |
2014-11-26 | Make option string/struct const (since it is...). I've had this | Todd C. Miller |
2012-12-29 | Fix exit status when there is an error reading a file. | Todd C. Miller |
2011-07-08 | add support for -o to only print the match. | Ted Unangst |
2011-03-04 | add -H (opposite of -h) to always print name. ok deraadt millert | Ted Unangst |
2010-07-02 | Remove the "fast" grep code if SMALL. This has the side effect of breaking | Ted Unangst |
2010-04-20 | Fix "grep -e foo -w" crash. The problem lies in 'e' getopt clause | Jacek Masiulaniec |
2010-04-05 | remove some non-POSIX standard non-GNU defacto standard options, mostly | Ted Unangst |
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt |
2007-02-13 | - Be explicit on command line checking, instead of relying on patterns, | Matthias Kilian |
2006-11-02 | Check length before checking index of len - 1. | Ray Lai |
2006-09-26 | Allow zero-length patterns with -x so | Jared Yanovich |
2006-03-07 | Break patterns containing newlines into multiple patterns like POSIX says. | Otto Moerbeek |
2006-02-09 | delint; remove redundant vars and functions; ok jaredy@ | Otto Moerbeek |
2005-04-03 | Make the processing of patterns collected from files specified by -f | Jared Yanovich |
2005-04-03 | Protect begin and end of word markers added to the pattern when | Otto Moerbeek |
2004-10-03 | Remove block based mmap optimization. There are newline problems | Otto Moerbeek |
2004-09-28 | various fixes to make this page a bit clearer and hopefully a bit | Jason McIntyre |
2004-08-05 | spacing | Theo de Raadt |
2004-05-07 | Add a new past path for fgrep that is just a simplified version of | Todd C. Miller |
2004-04-02 | Implement --line-buffered | Otto Moerbeek |
2004-02-04 | Fix anchors (^ or $) in -w mode broken by the last commit's -w overhaul. | Todd C. Miller |
2004-01-25 | Previously, in -w mode, for each match on a line grep would check | Todd C. Miller |
2003-12-11 | Sync usage() with SYNOPSIS in grep(1). | Ryan Thomas McBride |
2003-09-07 | Fix "grep -number" support for multi-digit numbers. At issue is | Todd C. Miller |
2003-07-16 | When reallocing pattern, use sizeof(*pattern) not sizeof(int). | Todd C. Miller |
2003-07-14 | range-check numeric arguments (-num, -A num, -B num) | Todd C. Miller |
2003-07-10 | grep should exit(2) on error, not exit(1) (1 means no matches found). | Todd C. Miller |
2003-07-10 | knf | Theo de Raadt |
2003-07-10 | Fix parsing of -NUMBER. We now do things a digit at a time and | Todd C. Miller |