0
I Use This!
Inactive

Commits : Listings

Analyzed about 24 hours ago. based on code collected 1 day ago.
May 01, 2023 — May 01, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
s/-p1003.1-2003/-p1003.1-2004/g More... almost 19 years ago
- use size_t where appropriate. - check for <= 0 in gzread; it returns -1 on error. From chri...@netbsd; ok millert@ More... about 19 years ago
Make the processing of patterns collected from files specified by -f delayed so options that affect pattern-building (such as -w) can be applied evenly to all such patterns. More... about 19 years ago
Protect begin and end of word markers added to the pattern when using the -w option with parentheses, to avoid operators in the expressions binding to the markers. Compare [[:<:]]foo|bar[[:>:]] and [[:<:]](foo|bar)[[:>:]]. Problem spotted by aaron@; ok millert@ aaron@ jaredy@ More... about 19 years ago
Due to a braindead zlib, the test for seekability of a gzstream using gzseek(f, 0L, SEEK_CUR) does not work as expected. Instead test the underlying stream and remember that. This repairs echo foo | gzip | zgrep foo. Problem spotted by Han Boetes in PR 4089; ok millert@ More... about 19 years ago
replace 0 with STDIN_FILENO. from han boetes and jared yanovich More... about 19 years ago
clarify what -a does; prod and ok deraadt@ More... over 19 years ago
remove the section on extended regular expressions, and point people instead to re_format.7: there is now a list of EREs there; More... over 19 years ago
Remove block based mmap optimization. There are newline problems (PR 3940, 3941) which can be fixed, but if a match starts at the end of a block and continues into the next block, no match will be found. Measurements by millert@ showed that the improvements of this optimization are non-measurable anyway. Diff from Alexander Taler. More... over 19 years ago
when stdin is searched, -L and -l print `(standard input)', not `-'; More... over 19 years ago
various fixes to make this page a bit clearer and hopefully a bit more helpful; More... over 19 years ago
unused variables; otto ok More... over 19 years ago
cast offset value correctly for gzseek More... over 19 years ago
Stop search when -q option is given and a match is found. Found by jmc@ ok millert@ More... over 19 years ago
spacing More... over 19 years ago
Make grep -w behave the same for the fastcomp and the regex case, by teaching fastcomp what word boundaries are according to regex. More... almost 20 years ago
Add a new past path for fgrep that is just a simplified version of fastcomp. This makes fgrep faster and fixes the -w flag w/ fgrep. Also remove free_patterns() since calling free right before exit is silly. Problem noticed by espie@ More... almost 20 years ago
Don't fseek() on stdin if it is a terminal. It does not fail, but what's more more important, it does not work either. More... almost 20 years ago
Treat ^H as non-binary. OK hshoexer@, brad@ and deraadt@ More... almost 20 years ago
-w uses [[:<:]] and [[:>:]], not \< and \>, and it's documented in re_format(7), not ex(1); More... about 20 years ago
remove unnecessary .Sm macros (oops, this is my fault it ever made it into the tree); More... about 20 years ago
Document --line-buffered ok jmc@ More... about 20 years ago
Implement --line-buffered ok millert@ tedu@ More... about 20 years ago
simpler special character list. provoked by Patrick Latifi ok jmc@ More... about 20 years ago
Fix anchors (^ or $) in -w mode broken by the last commit's -w overhaul. With this change we pass the updated regress. Tested and OK by ho@ More... about 20 years ago
dataLen should be size_t to match l->len; ok otto@ tedu@ More... over 20 years ago
Previously, in -w mode, for each match on a line grep would check to see if the match was on a word boundary. However, this missed lines where the first match was not on a word boundary but a subsequent match was. Problem originally spotted by miod@ More... over 20 years ago
-b reports offsets in bytes. More... over 20 years ago
Use off_t for file sizes, and don't forget to print a ':' when using the -b option. More... over 20 years ago
Unbreak *grep -w -l. ok millert@ More... over 20 years ago