August 2000
Intermediate to advanced
816 pages
29h 45m
English
fgrep
fgrep [options] pattern [files]
Search one or more files for lines that match a literal text string pattern. Exit status is 0 if any lines match, 1 if not, and 2 for errors.
See grep for the list of available options. Also see egrep.
Print lines in file that don’t contain any spaces:
fgrep -v ''file
Print lines in file that contain the words in spell_list:
fgrep -f spell_listfile
Read now
Unlock full access