summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.1 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* An article on medium.com highlighted that grepdaniel2015-01-131-3/+3
| | | | | | | | | was available in v4. To quote Ken Thompson, grep appeared "sometime before the 4th edition." ok schwarze@
* remove uesless Pp;jmc2013-01-171-3/+2
|
* add support for -o to only print the match.tedu2011-07-081-4/+6
| | | | reminded this was useful by ajcoutot
* add -H (opposite of -h) to always print name. ok deraadt millerttedu2011-03-041-4/+8
|
* add an EXIT STATUS section for /usr/bin;jmc2010-09-031-3/+3
|
* make this page read a little better;jmc2010-04-051-4/+4
|
* remove some non-POSIX standard non-GNU defacto standard options, mostlytedu2010-04-051-22/+4
| | | | | relating to symlinks that you can get with find. And a bonus fts flag fix. With a small tweak by guenther. ok deraadt guenther jmc millert nicm
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-3/+3
| | | | updates to follow;
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* - use a consistent text for STANDARDSjmc2007-05-301-2/+2
| | | | - note which options are extensions to POSIX
* - Be explicit on command line checking, instead of relying on patterns,kili2007-02-131-2/+8
| | | | | | | | | | | | | | | | which may be NULL (e.g. -e ''). - let add_pattern() decide how to deal with empty patterns, don't do magic in read_patterns(). This unbreaks stuff like grep -e '', and makes grep -f <file> more POSIX compliant. Semantics for grep -f /dev/null (or any other empty file) may be questionable, but this case isn't specified by POSIX, and matching nothing at all seems to be sane. Thanks to otto@, who mentioned potential problems related to the -x option with the first patch i sent. ok jaredy@ (some time ago), otto@, millert@
* -nv is a valid combination; confirmed by ottojmc2006-03-071-3/+2
|
* s/-p1003.1-2003/-p1003.1-2004/gjmc2005-06-051-2/+2
|
* clarify what -a does;jmc2005-01-061-1/+9
| | | | prod and ok deraadt@
* remove the section on extended regular expressions, and pointjmc2004-10-041-41/+8
| | | | people instead to re_format.7: there is now a list of EREs there;
* when stdin is searched, -L and -l print `(standard input)', not `-';jmc2004-09-281-5/+5
| | | | from alexander taler (pr #3937);
* various fixes to make this page a bit clearer and hopefully a bitjmc2004-09-281-126/+209
| | | | | | more helpful; this includes some ideas/fixes from otto and jared;
* -w uses [[:<:]] and [[:>:]], not \< and \>,jmc2004-04-171-4/+4
| | | | | | | and it's documented in re_format(7), not ex(1); from jared yanovich; ok beck@
* remove unnecessary .Sm macros (oops, this is my fault it everjmc2004-04-031-3/+1
| | | | made it into the tree);
* Document --line-bufferedotto2004-04-021-1/+8
| | | | ok jmc@
* simpler special character list. provoked by Patrick Latifi ok jmc@tedu2004-03-151-2/+2
|
* -b reports offsets in bytes.otto2004-01-191-2/+2
| | | | ok millert@
* Document use of [pattern] without -e, give example of -v with multiplemcbride2003-12-111-1/+6
| | | | | | patterns. ok deraadt@ jmc@
* typos from Jared Yanovich;jmc2003-10-201-2/+2
|
* Correct wording on -C option.mcbride2003-09-271-2/+2
| | | | ok jmc@
* Add curly braces {} to the list of special characters in egrep mode.millert2003-08-201-2/+4
| | | | From Piotr Domagalski, closes PR 3405
* typo, pr3396 from piotr domagalskitedu2003-08-111-2/+2
|
* Make it clear what -C does w/o having to read the description of -A/-B.millert2003-07-171-1/+2
| | | | Lack of clarity pointed out by Sam Smith, different fix suggested by jmc@
* - .Ql Li -> .Ql (Ql already provides literal font)jmc2003-07-151-5/+4
| | | | - remove a .Pp
* restore grep -v semantics, print lines that don't match any (mismatch all)dhartmei2003-07-101-3/+2
| | | | patterns. ok tedu@, millert@
* clarify operation of -f. spotted by jmc@, new text by James Howardtedu2003-06-241-7/+4
|
* document two long options without short equivs.tedu2003-06-231-1/+22
| | | | ok and help jmc@
* spellingtedu2003-06-231-3/+3
|
* better detetection/handling of binary files.tedu2003-06-231-3/+7
| | | | | | | | make -a do the right thing, doc and implement -U, -I. add --help and --mmap for compatibility. some other minor fixes. some from NetBSD. ok deraadt@
* 3 clause UCB licensemillert2003-06-221-6/+2
|
* proper $OpenBSD$deraadt2003-06-221-0/+1
|
* tweaks by jmc and ideraadt2003-06-221-32/+43
|
* freegrep 0.16deraadt2003-06-221-208/+222
|
* - section reorderjmc2003-06-101-56/+64
| | | | | | | | | - COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
* add missing .El's for .Bl macros;jmc2003-04-251-1/+2
|
* ascii -> ASCIIjmc2003-03-311-2/+2
|
* more SEE ALSO fixes.fgsch2002-11-091-2/+2
|
* complete grep clone by harding@motd.ca; everything is there, but it isderaadt2001-09-211-0/+261
slow because libc regexp is slow. Anyone out there have the balls to sit down and optimize libc regexp?