Last change
on this file since 9519422 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
810 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 |
|
---|
| 2 | FGREP(1) TOOLS Programmer's Manual FGREP(1)
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | NAME
|
---|
| 6 | fgrep - search a file for a fixed character string
|
---|
| 7 |
|
---|
| 8 | SYNOPSIS
|
---|
| 9 | fgrep [ option ] ... string [ file ] ...
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | DESCRIPTION
|
---|
| 13 | Fgrep searchs the input files (standard input default) for
|
---|
| 14 | lines matching a string. Normally, each line found is
|
---|
| 15 | copied to the standard output. The following options are
|
---|
| 16 | recognized.
|
---|
| 17 |
|
---|
| 18 | -v All lines but those matching are printed.
|
---|
| 19 |
|
---|
| 20 | -c Only a count of matching lines is printed.
|
---|
| 21 |
|
---|
| 22 | -l The names of files with matching lines are listed
|
---|
| 23 | (once) separated by newlines.
|
---|
| 24 |
|
---|
| 25 | -n Each line is preceded by its relative line number in
|
---|
| 26 | the file.
|
---|
| 27 |
|
---|
| 28 | In all cases the file name is shown if there is more than
|
---|
| 29 | one input file.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.