source: trunk/minix/man/man1/fgrep.1@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 985 bytes
RevLine 
[9]1.TH FGREP 1
2.SH NAME
3fgrep \- fixed grep
4.SH SYNOPSIS
5\fBfgrep\fR [\fB\-cfhlnsv\fR]\fR [\fIstring_file\fR] [\fIstring\fR] [\fIfile\fR] ...\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-c" "Count matching lines and only print count, not the lines"
19.FL "\-f" "Take strings from file named in following argument"
20.FL "\-h" "Omit file headers from printout"
21.FL "\-l" "List file names once only"
22.FL "\-n" "Each line is preceded by its line number"
23.FL "\-s" "Status only, no output"
24.FL "\-v" "Print only lines not matching"
25.SH EXAMPLES
26.EX "fgrep % prog.c" "Print lines containing % sign"
27.EX "fgrep \-f pattern prog.c" "Take strings from \fIpattern\fR"
28.SH DESCRIPTION
29.PP
30\fIFgrep\fR is essentially the same as grep, except that it only searches
31for lines containing literal strings (no wildcard characters). The pattern
32may consist of several lines with one string to search on each line.
33.SH "SEE ALSO"
34.BR cgrep (1),
35.BR grep (1).
Note: See TracBrowser for help on using the repository browser.