diff options
author | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1999-02-27 03:38:56 +0000 |
---|---|---|
committer | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1999-02-27 03:38:56 +0000 |
commit | 5b44c275f5d8305fc50a68675e62f63c6c944f93 (patch) | |
tree | 1cf278c2f227f8c1b48ad61a3b9e199005a379e1 /doc | |
parent | 2ef3d5b78a1b58b788787af4aeb8357d3cb61256 (diff) | |
download | grep-5b44c275f5d8305fc50a68675e62f63c6c944f93.tar.gz |
update for 2.3a
add comment for -C NUM.
Restrict use of -E -F -G to grep only.
* configure.in : Change the configure VC test from
'test x$ac_cv_prog_CC = xcl;' to 'test x"$ac_cv_prog_CC" = xcl;'
Email from Joshua R. Poulson.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/grep.1 | 6 | ||||
-rw-r--r-- | doc/grep.texi | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -2,13 +2,13 @@ .de Id .ds Dt \\$4 .. -.Id $Id: grep.1,v 1.1 1998/11/22 06:45:20 alainm Exp $ +.Id $Id: grep.1,v 1.2 1999/02/27 03:38:31 alainm Exp $ .TH GREP 1 \*(Dt "GNU Project" .SH NAME grep, egrep, fgrep \- print lines matching a pattern .SH SYNOPSIS .B grep -[-[AB] NUM] [-CEFGVabchiLlnqrsvwxyUu] [-e PATTERN | -f FILE] +[-[ABC] NUM] [-EFGVabchiLlnqrsvwxyUu] [-e PATTERN | -f FILE] [-d ACTION] [--directories=ACTION] [--extended-regexp] [--fixed-strings] [--basic-regexp] [--regexp=PATTERN] [--file=FILE] [--ignore-case] [--word-regexp] @@ -85,7 +85,7 @@ Print .I NUM lines of leading context before matching lines. .TP -.BI \-C ,\ --context"[=NUM]" +.BI \-C " [NUM]" ", --context"[=NUM]" Print .I NUM lines (default 2) of output context. diff --git a/doc/grep.texi b/doc/grep.texi index 23b05531..f15cdcc0 100644 --- a/doc/grep.texi +++ b/doc/grep.texi @@ -240,7 +240,7 @@ Print @var{num} lines of trailing context after matching lines. @cindex context lines, before match Print @var{num} lines of leading context before matching lines. -@item -C +@item -C @var{num} @itemx --context@var{[=num]} @opindex -C @opindex --context |