diff options
author | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 2001-02-08 15:11:47 +0000 |
---|---|---|
committer | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 2001-02-08 15:11:47 +0000 |
commit | 6237cca54e8541f11cbce32eb9c5958f93f7a9bb (patch) | |
tree | 7571a5878216a9628ed0c65e9fc4bfde3999e097 /doc | |
parent | 65f4fb3c40e51195b058fbac8bda3c73bfa0ccfa (diff) | |
download | grep-6237cca54e8541f11cbce32eb9c5958f93f7a9bb.tar.gz |
Consitent use of -C
Diffstat (limited to 'doc')
-rw-r--r-- | doc/grep.1 | 6 | ||||
-rw-r--r-- | doc/grep.texi | 5 |
2 files changed, 5 insertions, 6 deletions
@@ -12,7 +12,7 @@ .de Id .ds Dt \\$4 .. -.Id $Id: grep.1,v 1.14 2001/02/08 15:03:50 alainm Exp $ +.Id $Id: grep.1,v 1.15 2001/02/08 15:11:47 alainm Exp $ .TH GREP 1 \*(Dt "GNU Project" .SH NAME grep, egrep, fgrep \- print lines matching a pattern @@ -73,10 +73,10 @@ Print .I NUM lines of leading context before matching lines. .TP -\fB\-C\fP [\fINUM\fP], \fB\-\fP\fINUM\fP, \fB\-\^\-context\fP[\fB=\fP\fINUM\fP] +.BI \-C " NUM" "\fR,\fP \-\^\-context=" NUM Print .I NUM -lines (default 2) of output context. +lines of output context. .TP .BR \-b ", " \-\^\-byte-offset Print the byte offset within the input file before diff --git a/doc/grep.texi b/doc/grep.texi index 9595bdca..1f62b07c 100644 --- a/doc/grep.texi +++ b/doc/grep.texi @@ -254,12 +254,11 @@ Print @var{num} lines of trailing context after matching lines. Print @var{num} lines of leading context before matching lines. @item -C @var{num} -@itemx --context=[@var{num}] +@itemx --context=@var{num} @opindex -C @opindex --context @cindex context -Print @var{num} lines (default 2) of output context. - +Print @var{num} lines of output context. @item -@var{num} @opindex -NUM |