Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
CGREP.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- .TH CGREP 1
- .SH NAME
- cgrep - grep and display context
- .SH SYNOPSIS
- fBcgrepfR [fB-a fInfR]fR [fB-b fInfR] [fB-ffR] [fB-l fInfR] [fB-nfR] [fB-w fInfR] fIpatternfR [fIfilefR] ...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-afR n fB-bfR n)"
- .SH EXAMPLES
- .EX "cgrep -w 3 hello file1" "Print 3 lines of context each way"
- .SH DESCRIPTION
- .PP
- fICgrepfR is a program like fIgrepfR, except that it also can print
- a 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).