aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.c
Commit message (Expand)AuthorAgeFilesLines
* grep: Default to -p instead of -S.John Baldwin2024-09-041-1/+1
* Remove my middle name.Dag-Erling Smørgrav2023-08-171-1/+1
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-161-1/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* grep: properly switch EOL indicator with -zKyle Evans2023-01-041-0/+1
* grep: fix/remove references to -PKyle Evans2021-11-101-3/+3
* grep: Fix an incorrect description of the -C flagMateusz Piotrowski2021-04-171-2/+2
* grep: turn off -w if -x is specifiedKyle Evans2021-02-051-0/+4
* grep: fix null pattern and empty pattern file behaviorKyle Evans2021-02-051-11/+0
* grep: replace the internal queue with a ring bufferKyle Evans2020-12-091-0/+2
* Retire GNU_GREP_COMPAT knobKyle Evans2020-12-051-6/+1
* bsdgrep: switch to libregex for GNU_GREP_COMPATKyle Evans2020-08-041-1/+1
* bsdgrep(1): various fixes of empty pattern/exit code/-c behaviorKyle Evans2019-09-251-17/+10
* grep: Move lone 'r'grep case into the adjacent switchKyle Evans2019-06-021-7/+9
* bsdgrep(1): Do some less dirty things with return typesKyle Evans2018-06-071-4/+6
* Remove NLS support from BSD grepBaptiste Daroussin2018-06-061-27/+10
* bsdgrep: Allow "-" to be passed to -f to mean "standard input"Kyle Evans2018-05-081-2/+5
* bsdgrep: annihilate our in-tree TRE, previously disabled by defaultKyle Evans2018-05-041-18/+0
* bsdgrep: Update NLS catalogs after r332995Kyle Evans2018-04-251-8/+8
* Remove compression support from bsdgrepBaptiste Daroussin2018-04-251-45/+12
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* bsdgrep: add a primitive literal matcherKyle Evans2017-08-241-2/+13
* bsdgrep: correct assumptions to prepare for chunkingEd Maste2017-05-261-1/+1
* bsdgrep: don't allow negative -A / -B / -CEd Maste2017-05-151-7/+11
* bsdgrep: avoid use of magic number for REG_NOSPECEd Maste2017-05-021-2/+7
* bsdgrep: fix -w flag matching with an empty patternEd Maste2017-05-021-16/+24
* bsdgrep: Add GNU compatible version string indicatorEd Maste2017-05-021-0/+5
* bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatchEd Maste2017-04-211-8/+17
* bsdgrep: for -r, use the working directory if none specifiedEd Maste2017-04-171-1/+1
* bsdgrep: add -z/--null-data supportEd Maste2017-04-171-2/+8
* bsdgrep: Handle special case of single-byte NUL patternEd Maste2017-04-051-1/+5
* bsdgrep: treat rgrep as grep -rEd Maste2017-04-031-0/+3
* Remove usage of _WITH_GETLINE from usr.binBaptiste Daroussin2016-07-301-1/+0
* bsdgrep: fix regression in the -f option since r268799Pedro F. Giffuni2015-03-211-1/+1
* grep: fix some memory leaks.Pedro F. Giffuni2014-07-171-2/+7
* Various style(9) fixes and typos in grep, sort and patch.Pedro F. Giffuni2014-04-211-1/+1
* - Avoid unnecessary strdup()Gabor Kovesdan2013-01-201-2/+2
* - Fix handling of the case when multiple patterns are specified in a singleGabor Kovesdan2013-01-051-2/+12
* Make bsdgrep behave as gnugrep and as documented: -m should only stopEitan Adler2012-12-201-1/+2
* More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-3/+4
* Remove duplicate line from usageEitan Adler2012-01-151-1/+0
* Add missing "static const" to long options table.Ed Schouten2011-12-101-1/+1
* - Match GNU behavior of exit codeGabor Kovesdan2011-12-071-2/+2
* - Use getprogname() instead of __prognameGabor Kovesdan2011-10-111-6/+9
* Update BSD grep to the latest development version. It has some codeGabor Kovesdan2011-10-051-52/+76
* - Fix handling of environmental variables when they are set to empty stringGabor Kovesdan2011-08-171-3/+4
* - Use REG_NOSUB to bypass submatch counting when not necessary. This mayGabor Kovesdan2011-06-121-1/+5
* - Adjust a comment to actual behaviourGabor Kovesdan2011-04-071-0/+2
* Revert a minor part of revision 211364:Xin LI2010-08-191-4/+1