Commits on Nov 28, 2009
  1. clarify what -a does;

    prod and ok deraadt@
    Jason McIntyre committed with Jan 6, 2005
  2. remove the section on extended regular expressions, and point

    people instead to re_format.7: there is now a list of EREs there;
    Jason McIntyre committed with Oct 4, 2004
  3. 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.
    
    ok millert@
    Otto Moerbeek committed with Oct 3, 2004
  4. when stdin is searched, -L and -l print `(standard input)', not `-';

    from alexander taler (pr #3937);
    Jason McIntyre committed with Sep 28, 2004
  5. various fixes to make this page a bit clearer and hopefully a bit

    more helpful;
    
    this includes some ideas/fixes from otto and jared;
    Jason McIntyre committed with Sep 28, 2004
  6. unused variables; otto ok

    Theo de Raadt committed with Sep 16, 2004
  7. cast offset value correctly for gzseek

    Theo de Raadt committed with Sep 15, 2004
  8. Stop search when -q option is given and a match is found. Found by jmc@

    ok millert@
    Otto Moerbeek committed with Aug 11, 2004
  9. spacing

    Theo de Raadt committed with Aug 5, 2004
  10. Make grep -w behave the same for the fastcomp and the regex case,

    by teaching fastcomp what word boundaries are according to regex.
    
    ok millert@
    Otto Moerbeek committed with May 7, 2004
  11. 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@
    Todd Miller committed with May 7, 2004
  12. 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.
    
    ok millert@ tedu@
    Otto Moerbeek committed with May 6, 2004
  13. -w uses [[:<:]] and [[:>:]], not \< and \>,

    and it's documented in re_format(7), not ex(1);
    
    from jared yanovich;
    ok beck@
    Jason McIntyre committed with Apr 17, 2004
  14. remove unnecessary .Sm macros (oops, this is my fault it ever

    made it into the tree);
    Jason McIntyre committed with Apr 3, 2004
  15. Document --line-buffered

    ok jmc@
    Otto Moerbeek committed with Apr 2, 2004
  16. Implement --line-buffered

    ok millert@ tedu@
    Otto Moerbeek committed with Apr 2, 2004
  17. 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@
    Todd Miller committed with Feb 4, 2004
  18. dataLen should be size_t to match l->len; ok otto@ tedu@

    Todd Miller committed with Jan 26, 2004
  19. 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@
    
    We fix this by using the [[:<:]] and [[:>:]] character classes for
    the slow path and by checking the word boundaries in grep_search()
    for the fast path instead of doing the checks after running
    regexec() or grep_search().
    
    With this change, grep passes the new regress tests 15 and 16.
    problem originally spotted by espie@.
    Todd Miller committed with Jan 25, 2004
  20. -b reports offsets in bytes.

    ok millert@
    Otto Moerbeek committed with Jan 19, 2004
  21. Use off_t for file sizes, and don't forget to print a ':' when using

    the -b option.
    
    ok millert@
    Otto Moerbeek committed with Jan 19, 2004
  22. Unbreak *grep -w -l. ok millert@

    Otto Moerbeek committed with Jan 18, 2004
  23. make sure ln.len gets initialized. Okay millert@

    Marc Espie committed with Jan 18, 2004
  24. fix zgrep failure when the uncompressed file begins with a newline

    also, search from the beginning if a stream or compressed file is
    identified as 'binary'.
    ok millert@, reported by tedu@, tested by jose@
    Can Erkin Acar committed with Dec 29, 2003
  25. Sync usage() with SYNOPSIS in grep(1).

    ok deraadt@ jmc@
    Ryan McBride committed with Dec 11, 2003
  26. Document use of [pattern] without -e, give example of -v with multiple

    patterns.
    
    ok deraadt@ jmc@
    Ryan McBride committed with Dec 11, 2003
  27. Unbreak grepping for some patterns containing multiple dots. Fixes PR…

    … 3597.
    
    ok deraadt@ millert@
    Otto Moerbeek committed with Dec 6, 2003
  28. prototype declared static, but function was not. add static to function.

    millert@ otto@ ok
    Anil Madhavapeddy committed with Oct 28, 2003
  29. typos from Jared Yanovich;

    Jason McIntyre committed with Oct 20, 2003
  30. Correct wording on -C option.

    ok jmc@
    Ryan McBride committed with Sep 27, 2003
  31. make this test look for spaces as well, to match other cases

    ok fgs@ ok deraadt@
    Bob Beck committed with Sep 18, 2003