minix man page for fgrep

Query: fgrep

OS: minix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FGREP(1)						      General Commands Manual							  FGREP(1)

NAME
fgrep - fixed grep
SYNOPSIS
fgrep [-cfhlnsv] [string_file] [string] [file] ...
OPTIONS
-c Count matching lines and only print count, not the lines -f Take strings from file named in following argument -h Omit file headers from printout -l List file names once only -n Each line is preceded by its line number -s Status only, no output -v Print only lines not matching
EXAMPLES
fgrep % prog.c # Print lines containing % sign fgrep -f pattern prog.c # Take strings from pattern
DESCRIPTION
Fgrep is essentially the same as grep, except that it only searches for lines containing literal strings (no wildcard characters). The pattern may consist of several lines with one string to search on each line.
SEE ALSO
cgrep(1), grep(1). FGREP(1)
Related Man Pages
grep(1) - v7
bzgrep(1) - redhat
grep(1) - bsd
zfgrep(1) - netbsd
zgrep(1) - netbsd
Similar Topics in the Unix Linux Community
Awk Vs Fgrep
-w option in fgrep for Solaris
Performance issue with fgrep -vf file1 file2>file3
Extract sentence and its details from a text file based on another file of sentences
Extract count of string in all files and display on date wise