📄 cgrep.1
字号:
.TH CGREP 1.SH NAMEcgrep \- grep and display context.SH SYNOPSIS\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.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH OPTIONS.FL "\-a" "How many lines to display after the matching line".FL "\-b" "How many lines to display before the matching line".FL "\-f" "Suppress file name in the output".FL "\-l" "Lines are truncated to this length before comparison".FL "\-n" "Suppress line numbers in the output".FL "\-w" "Sets window size (same as \fB\-a\fR n \fB\-b\fR n)".SH EXAMPLES.EX "cgrep \-w 3 hello file1" "Print 3 lines of context each way".SH DESCRIPTION.PP\fICgrep\fR is a program like \fIgrep\fR, except that it also can printa few lines above and/or below the matching lines.It also prints the line numbers of the output..SH "SEE ALSO".BR grep (1),.BR fgrep (1).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -