aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/util.c
Commit message (Expand)AuthorAgeFilesLines
* grep: fix combination of quite and count flagMariusz Zaborski2021-07-091-1/+1
* grep: fix -A handling in conjunction with -m match limitationKyle Evans2021-02-081-1/+20
* grep: fix null pattern and empty pattern file behaviorKyle Evans2021-02-051-19/+16
* fts_read: Handle error from a NULL return better.Bryan Drewery2020-12-081-1/+3
* bsdgrep(1): various fixes of empty pattern/exit code/-c behaviorKyle Evans2019-09-251-12/+25
* bsdgrep(1): Remove redundant initialization; unconditionally assigned laterKyle Evans2018-06-151-1/+0
* bsdgrep(1): Some more int -> bool conversions and name changesKyle Evans2018-06-091-20/+25
* bsdgrep(1): Slooowly peel away the chunky onionKyle Evans2018-06-081-16/+5
* bsdgrep(1): Don't initialize fts_flags twiceKyle Evans2018-06-071-1/+1
* bsdgrep(1): whoops, garbage collect the now write-only variableKyle Evans2018-06-071-2/+2
* bsdgrep(1): Do some less dirty things with return typesKyle Evans2018-06-071-17/+18
* Remove NLS support from BSD grepBaptiste Daroussin2018-06-061-2/+2
* bsdgrep: annihilate our in-tree TRE, previously disabled by defaultKyle Evans2018-05-041-15/+2
* bsdgrep: Adjust a missed NLS reference that was invalidated by recent workKyle Evans2018-05-021-1/+1
* bsdgrep: Use grep_strdup instead of grep_malloc+strcpyKyle Evans2018-04-211-2/+1
* bsdgrep: Fix --include/--exclude ordering issuesKyle Evans2018-04-211-4/+10
* bsdgrep: More trivial cleanup/style cleanupKyle Evans2018-04-211-14/+5
* bsdgrep: Some light cleanupKyle Evans2018-04-211-5/+5
* bsdgrep: Break procmatches down a little bit moreKyle Evans2018-04-201-43/+54
* bsdgrep: Add some TODOs for future work on operating on chunksKyle Evans2018-04-201-0/+12
* bsdgrep: Clean up procmatches a little bitKyle Evans2018-04-201-31/+32
* bsdgrep: Split match processing out of procfileKyle Evans2018-04-201-65/+87
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* bsdgrep: add a primitive literal matcherKyle Evans2017-08-241-1/+70
* bsdgrep: cast pmatch.rm_so to fix build when linking against libgnuregexKyle Evans2017-08-171-1/+1
* bsdgrep(1): Don't exit before processing every fileKyle Evans2017-07-251-10/+2
* Update copyright e-mail address to @FreeBSD.org addressKyle Evans2017-07-061-1/+1
* bsdgrep: bump version number and add Kyle Evans copyrightEd Maste2017-05-291-0/+1
* bsdgrep: correct assumptions to prepare for chunkingEd Maste2017-05-261-4/+4
* bsdgrep: Correct per-line line metadata printingEd Maste2017-05-201-10/+25
* bsdgrep: emit more than MAX_LINE_MATCHES per lineEd Maste2017-05-201-7/+23
* bsdgrep: don't allow negative -A / -B / -CEd Maste2017-05-151-1/+2
* bsdgrep: don't ouptut matches with -c, -l, -LEd Maste2017-05-051-5/+7
* bsdgrep: correct uninitialized variable introduced in r317703Ed Maste2017-05-031-6/+6
* bsdgrep: fix -w flag matching with an empty patternEd Maste2017-05-021-159/+214
* bsdgrep: fix -w -v matching improperly with certain patternsEd Maste2017-05-021-3/+24
* bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatchEd Maste2017-04-211-0/+8
* bsdgrep: fix zero-length matches without the -o flagEd Maste2017-04-171-3/+3
* bsdgrep: remove output separators between overlapping segmentsEd Maste2017-04-171-6/+27
* bsdgrep: for -r, use the working directory if none specifiedEd Maste2017-04-171-1/+4
* bsdgrep: add -z/--null-data supportEd Maste2017-04-171-2/+2
* bsdgrep: revert color changes from r316477Ed Maste2017-04-041-2/+2
* bsdgrep: Initialize vars to avoid a false positive GCC warningEd Maste2017-04-041-0/+3
* bsdgrep: fix matching behaviourEd Maste2017-04-031-17/+52
* Call basename() in a portable way.Ed Schouten2016-07-281-5/+10
* - Do not look for more matching lines if -L is specifiedGabor Kovesdan2014-08-181-1/+1
* grep: Fix type.Pedro F. Giffuni2014-07-171-1/+1
* Fix a bug in bsdgrep(1) where patterns are not correctlyGlen Barber2014-06-201-1/+1
* Make bsdgrep behave as gnugrep and as documented: -m should only stopEitan Adler2012-12-201-2/+1
* - Match GNU behavior of exit codeGabor Kovesdan2011-12-071-3/+2