Page MenuHomeFreeBSD

D28509.id83438.diff
No OneTemporary

D28509.id83438.diff

Index: usr.bin/grep/grep.1
===================================================================
--- usr.bin/grep/grep.1
+++ usr.bin/grep/grep.1
@@ -30,7 +30,7 @@
.\"
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd February 4, 2021
+.Dd February 5, 2021
.Dt GREP 1
.Os
.Sh NAME
@@ -45,7 +45,7 @@
.Op Fl abcdDEFGHhIiLlmnOopqRSsUVvwxz
.Op Fl A Ar num
.Op Fl B Ar num
-.Op Fl C Ns Op Ar num
+.Op Fl C Ar num
.Op Fl e Ar pattern
.Op Fl f Ar file
.Op Fl Fl binary-files= Ns Ar value
@@ -123,18 +123,15 @@
.It Fl b , Fl Fl byte-offset
The offset in bytes of a matched pattern is
displayed in front of the respective matched line.
-.It Fl C Ns Oo Ar num Oc , Fl Fl context Ns Oo = Ns Ar num Oc
+.It Fl C Ar num , Fl Fl context= Ns Ar num
Print
.Ar num
lines of leading and trailing context surrounding each match.
-The default value of
-.Ar num
-is
-.Dq 2
-and is equivalent to
-.Dq Fl A Ar 2 Fl B Ar 2 .
-Note:
-no whitespace may be given between the option and its argument.
+See also the
+.Fl A
+and
+.Fl B
+options.
.It Fl c , Fl Fl count
Only a count of selected lines is written to standard output.
.It Fl Fl colour= Ns Oo Ar when Oc , Fl Fl color= Ns Oo Ar when Oc

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 2:05 AM (13 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37262618
Default Alt Text
D28509.id83438.diff (1 KB)

Event Timeline