summaryrefslogtreecommitdiff
path: root/usr.bin/grep/util.c
AgeCommit message (Expand)Author
2025-08-08grep: toss in some explicit fflush()Kyle Evans
2025-03-19grep: avoid duplicated lines when we're coloring outputKyle Evans
2024-09-04grep: Fix various bugs in recursive tree handlingJohn Baldwin
2023-11-04grep: don't rely on implementation-defined malloc(0) behaviorKyle Evans
2023-08-17Remove my middle name.Dag-Erling Smørgrav
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c comment patternWarner Losh
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2021-07-09grep: fix combination of quite and count flagMariusz Zaborski
2021-02-08grep: fix -A handling in conjunction with -m match limitationKyle Evans
2021-02-04grep: fix null pattern and empty pattern file behaviorKyle Evans
2020-12-08fts_read: Handle error from a NULL return better.Bryan Drewery
2019-09-25bsdgrep(1): various fixes of empty pattern/exit code/-c behaviorKyle Evans
2018-06-15bsdgrep(1): Remove redundant initialization; unconditionally assigned laterKyle Evans
2018-06-09bsdgrep(1): Some more int -> bool conversions and name changesKyle Evans
2018-06-08bsdgrep(1): Slooowly peel away the chunky onionKyle Evans
2018-06-07bsdgrep(1): Don't initialize fts_flags twiceKyle Evans
2018-06-07bsdgrep(1): whoops, garbage collect the now write-only variableKyle Evans
2018-06-07bsdgrep(1): Do some less dirty things with return typesKyle Evans
2018-06-06Remove NLS support from BSD grepBaptiste Daroussin
2018-05-04bsdgrep: annihilate our in-tree TRE, previously disabled by defaultKyle Evans
2018-05-02bsdgrep: Adjust a missed NLS reference that was invalidated by recent workKyle Evans
2018-04-21bsdgrep: Use grep_strdup instead of grep_malloc+strcpyKyle Evans
2018-04-21bsdgrep: Fix --include/--exclude ordering issuesKyle Evans
2018-04-21bsdgrep: More trivial cleanup/style cleanupKyle Evans
2018-04-21bsdgrep: Some light cleanupKyle Evans
2018-04-20bsdgrep: Break procmatches down a little bit moreKyle Evans
2018-04-20bsdgrep: Add some TODOs for future work on operating on chunksKyle Evans
2018-04-20bsdgrep: Clean up procmatches a little bitKyle Evans
2018-04-20bsdgrep: Split match processing out of procfileKyle Evans
2017-11-27various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-08-24bsdgrep: add a primitive literal matcherKyle Evans
2017-08-17bsdgrep: cast pmatch.rm_so to fix build when linking against libgnuregexKyle Evans
2017-07-25bsdgrep(1): Don't exit before processing every fileKyle Evans
2017-07-06Update copyright e-mail address to @FreeBSD.org addressKyle Evans
2017-05-29bsdgrep: bump version number and add Kyle Evans copyrightEd Maste
2017-05-26bsdgrep: correct assumptions to prepare for chunkingEd Maste
2017-05-20bsdgrep: Correct per-line line metadata printingEd Maste
2017-05-20bsdgrep: emit more than MAX_LINE_MATCHES per lineEd Maste
2017-05-15bsdgrep: don't allow negative -A / -B / -CEd Maste
2017-05-05bsdgrep: don't ouptut matches with -c, -l, -LEd Maste
2017-05-03bsdgrep: correct uninitialized variable introduced in r317703Ed Maste
2017-05-02bsdgrep: fix -w flag matching with an empty patternEd Maste
2017-05-02bsdgrep: fix -w -v matching improperly with certain patternsEd Maste
2017-04-21bsdgrep: add BSD_GREP_FASTMATCH knob for built-in fastmatchEd Maste
2017-04-17bsdgrep: fix zero-length matches without the -o flagEd Maste
2017-04-17bsdgrep: remove output separators between overlapping segmentsEd Maste
2017-04-17bsdgrep: for -r, use the working directory if none specifiedEd Maste
2017-04-17bsdgrep: add -z/--null-data supportEd Maste
2017-04-04bsdgrep: revert color changes from r316477Ed Maste