summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep (follow)
Commit message (Expand)AuthorAgeFilesLines
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-3/+3
* grep only opens files read-only, reads via stdio or other methods, performsderaadt2015-10-031-1/+4
* use strtonum to parse the number of lines of context.dlg2015-08-271-10/+9
* Put fts_close() where missing.uebayasi2015-06-251-2/+2
* Add warning when user specifies -R but no files, like GNU grep.millert2015-04-301-1/+3
* Don't include limits.h or sys/limits.h since grep.h already does itmillert2015-03-162-4/+2
* Include limits.h, not sys/limits.h and include stdint.h for SIZE_MAX.millert2015-03-161-2/+3
* SIZE_MAX is standard, we should be using it in preference to themillert2015-02-061-2/+2
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-163-9/+5
* An article on medium.com highlighted that grepdaniel2015-01-131-3/+3
* 1. They're flags, not counters. Set to one instead of incrementing.tedu2015-01-102-23/+15
* use reallocarray()deraadt2014-12-013-5/+15
* Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert2014-11-261-2/+2
* Make option string/struct const (since it is...). I've had thismillert2014-11-261-4/+4
* Check the mode flag being passed in to mmopen() instead of ignoring it.brad2014-11-081-3/+3
* Use errc/warnc to simplify code.guenther2014-05-201-2/+2
* unsigned char casts for ctypederaadt2013-11-262-5/+5
* simple prototype repairsderaadt2013-11-121-2/+2
* blacklist a select few characters instead of a limited whitelist fortedu2013-05-041-11/+21
* remove uesless Pp;jmc2013-01-171-3/+2
* Fix exit status when there is an error reading a file.millert2012-12-293-6/+10
* Don't print zero length matches in -o mode. Found by otto@ whomillert2012-12-121-2/+2
* use proper eol offset for -o matching; spotted by ajacoutot@; ok millert@otto2012-12-111-2/+2
* Fix an integer overflow for very long lines by replacing the datatype of 2 offsets from int to regoff_t.aschrijver2011-07-171-3/+9
* Fix spacingaschrijver2011-07-171-4/+4
* the matchall magic shortcut requires we set c=1 to print nowtedu2011-07-111-1/+2
* add support for -o to only print the match.tedu2011-07-085-33/+57
* Switch binary file detection from !(isprint() || isspace()) to checkingstsp2011-06-201-20/+14
* add -H (opposite of -h) to always print name. ok deraadt millerttedu2011-03-043-12/+21
* add an EXIT STATUS section for /usr/bin;jmc2010-09-031-3/+3
* Remove the "fast" grep code if SMALL. This has the side effect of breakingtedu2010-07-022-3/+27
* Do not include mmap support with -DSMALL.nicm2010-07-023-3/+17
* prevent out-of-bounds access with empty pattern (fixes "grep -x ''")eric2010-04-251-2/+2
* Fix "grep -e foo -w" crash. The problem lies in 'e' getopt clausejacekm2010-04-201-4/+17
* make this page read a little better;jmc2010-04-051-4/+4
* remove some non-POSIX standard non-GNU defacto standard options, mostlytedu2010-04-054-60/+16
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-3/+3
* two globals not needed in NOZ modederaadt2008-10-161-1/+3
* Process patterns containing $ end ^ (but not as last or first char)otto2007-10-021-2/+1
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-023-5/+16
* convert to new .Dd format;jmc2007-05-311-2/+2
* - use a consistent text for STANDARDSjmc2007-05-301-2/+2
* - Be explicit on command line checking, instead of relying on patterns,kili2007-02-132-20/+17
* fts_read returning NULL and errno set is an error. ok ray@otto2006-12-261-1/+3
* Reset the number of lines of tail context left to printjaredy2006-11-171-1/+2
* Check length before checking index of len - 1.ray2006-11-021-2/+2
* Allow zero-length patterns with -x sojaredy2006-09-262-6/+7
* That should be S_ISREG, dunno why I committed this wrong version;otto2006-09-201-2/+2
* Use S_IS* macros insted of masking with S_IF* flags. The latter mayotto2006-09-191-2/+2
* Break patterns containing newlines into multiple patterns like POSIX says.otto2006-03-071-3/+15