3 cgrep \- grep and display context
5 \fBcgrep\fR [\fB\-a \fIn\fR]\fR [\fB\-b \fIn\fR] [\fB\-f\fR] [\fB\-l \fIn\fR] [\fB\-n\fR] [\fB\-w \fIn\fR] \fIpattern\fR [\fIfile\fR] ...\fR
18 .FL "\-a" "How many lines to display after the matching line"
19 .FL "\-b" "How many lines to display before the matching line"
20 .FL "\-f" "Suppress file name in the output"
21 .FL "\-l" "Lines are truncated to this length before comparison"
22 .FL "\-n" "Suppress line numbers in the output"
23 .FL "\-w" "Sets window size (same as \fB\-a\fR n \fB\-b\fR n)"
25 .EX "cgrep \-w 3 hello file1" "Print 3 lines of context each way"
28 \fICgrep\fR is a program like \fIgrep\fR, except that it also can print
29 a few lines above and/or below the matching lines.
30 It also prints the line numbers of the output.