Age | Commit message (Expand) | Author |
2022-06-26 | grep: add --null flag | op |
2022-05-30 | grep(1): print full context when using match count | Dave Voutila |
2021-12-28 | Fix printing of -- marker when using -A as noted by gnezdo@ | Otto Moerbeek |
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-10-07 | two compat features to allow the zstdgrep script to work. | Ted Unangst |
2019-07-17 | when combining -o and -b, print the byte offset of the pattern, not line. | Ted Unangst |
2019-01-23 | rework grep_open to be more careful about directories. | Ted Unangst |
2017-12-09 | Add support for the non-standard grep -m extension. | Paul Irofti |
2017-04-03 | initialize regmatch_t always, fixes grep -o "" | Ted Unangst |
2016-08-25 | when using -o, we may restart a match in the middle of the line. | Ted Unangst |
2016-04-04 | Reverse search optimization makes no sense (and doesn't work) if | Otto Moerbeek |
2015-12-22 | cast toupper's argument to unsigned char | mmcc |
2015-12-22 | The loop index in grep_cmp() should be size_t to match the type of | Todd C. Miller |
2015-12-14 | Use long long rather than off_t for line_no to ensure that it's always | mmcc |
2015-12-07 | Represent line numbers with off_t rather than int. This prevents | mmcc |
2015-06-25 | Put fts_close() where missing. | Masao Uebayashi |
2014-12-01 | use reallocarray() | Theo de Raadt |
2014-05-20 | Use errc/warnc to simplify code. | Philip Guenther |
2013-11-26 | unsigned char casts for ctype | Theo de Raadt |
2013-05-04 | blacklist a select few characters instead of a limited whitelist for | Ted Unangst |
2012-12-29 | Fix exit status when there is an error reading a file. | Todd C. Miller |
2012-12-12 | Don't print zero length matches in -o mode. Found by otto@ who | Todd C. Miller |
2012-12-11 | use proper eol offset for -o matching; spotted by ajacoutot@; ok millert@ | Otto Moerbeek |
2011-07-17 | Fix an integer overflow for very long lines by replacing the datatype of 2 of... | aschrijver |
2011-07-11 | the matchall magic shortcut requires we set c=1 to print now | Ted Unangst |
2011-07-08 | add support for -o to only print the match. | Ted Unangst |
2010-07-02 | Remove the "fast" grep code if SMALL. This has the side effect of breaking | Ted Unangst |
2010-04-25 | prevent out-of-bounds access with empty pattern (fixes "grep -x ''") | Eric Faurot |
2010-04-05 | remove some non-POSIX standard non-GNU defacto standard options, mostly | Ted Unangst |
2007-10-02 | Process patterns containing $ end ^ (but not as last or first char) | Otto Moerbeek |
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt |
2006-12-26 | fts_read returning NULL and errno set is an error. ok ray@ | Otto Moerbeek |
2006-11-17 | Reset the number of lines of tail context left to print | Jared Yanovich |
2006-09-26 | Allow zero-length patterns with -x so | Jared Yanovich |
2006-02-09 | delint; remove redundant vars and functions; ok jaredy@ | Otto Moerbeek |
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-16 | unused variables; otto ok | Theo de Raadt |
2004-08-11 | Stop search when -q option is given and a match is found. Found by jmc@ | Otto Moerbeek |
2004-05-07 | Make grep -w behave the same for the fastcomp and the regex case, | Otto Moerbeek |
2004-05-07 | Add a new past path for fgrep that is just a simplified version of | Todd C. Miller |
2004-02-04 | Fix anchors (^ or $) in -w mode broken by the last commit's -w overhaul. | Todd C. Miller |
2004-01-26 | dataLen should be size_t to match l->len; ok otto@ tedu@ | Todd C. Miller |
2004-01-25 | Previously, in -w mode, for each match on a line grep would check | Todd C. Miller |
2004-01-19 | Use off_t for file sizes, and don't forget to print a ':' when using | Otto Moerbeek |
2004-01-18 | make sure ln.len gets initialized. Okay millert@ | Marc Espie |
2003-12-06 | Unbreak grepping for some patterns containing multiple dots. Fixes PR 3597. | Otto Moerbeek |
2003-10-28 | prototype declared static, but function was not. add static to function. | Anil Madhavapeddy |
2003-07-20 | After some discussion on icb it seems a do {} while is what we want | Todd C. Miller |