NAME
fgrep — search a
file for a fixed-string pattern (LEGACY)
SYNOPSIS
fgrep |
[-c |
-l][-invx]
-e pattern_list
[file ...] |
fgrep |
[-c |
-l][-invx]
-f pattern_list
[file ...] |
fgrep |
[-c |
-l][-invx]
pattern_list [file ...] |
DESCRIPTION
The name fgrep is an obsolescent version
equivalent to grep(1) -F .
A command invoking the fgrep utility with
the -e option specified is equivalent to the
command: grep -F [ -c| -l][-invx] -e pattern_list
[file...]
A command invoking the fgrep utility with
the -f option specified is equivalent to the
command: grep -F [ -c| -l][-invx] -f pattern_list
[file...]
A command invoking the fgrep utility with
neither the -e nor the -f
option operand specified is equivalent to the command: grep
-F [ -c| -l][-invx] pattern_list [file...]
OPTIONS
Refer to grep(1) .
OPERANDS
Refer to grep(1) .
STDIN
Refer to grep(1) .
INPUT FILES
Refer to grep(1) .
ENVIRONMENT VARIABLES
Refer to grep(1) .
ASYNCHRONOUS EVENTS
Refer to grep(1) .
STDOUT
Refer to grep(1) .
STDERR
Refer to grep(1) .
OUTPUT FILES
Refer to grep(1) .
EXTENDED DESCRIPTION
Refer to grep(1) .
EXIT STATUS
Refer to grep(1) .
CONSEQUENCES OF ERRORS
Refer to grep(1) .
APPLICATION USAGE
Unlike grep(1) -F ,
multiple -e or -f options
produce undefined results. Adjacent newline characters in the pattern
operand or -e pattern_list option-argument also
produce undefined results.
Applications should migrate to the
grep
-F command.
EXAMPLES
Refer to grep(1) .
FUTURE DIRECTIONS
Refer to grep(1) .
SEE ALSO
grep(1) .