fgrep - search a file for a fixed-string pattern (LEGACY)
fgrep [ -c| -l][-invx] -e pattern_list [file...] fgrep [ -c| -l][-invx] -f pattern_list [file...] fgrep [ -c| -l][-invx] pattern_list [file...]
The name fgrep is an obsolescent version equivalent to grep -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...]
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Unlike grep -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.
Refer to grep.
Refer to grep.
grep.