May 2000
Beginner
761 pages
18h 20m
English
Unlike the members of the grep family, Linux's rgrep can recursively descend a directory tree. Rgrep has a number of command line options and supports the same metacharacters as regular grep (grep-R). See page713 in Appendix A for a complete description of rgrep, or type rgrep-? for online help. (Not supported on regular versions of UNIX.)
% fgrep '[A-Z]****[0-9]..$5.00' file or % grep -F '[A-Z]****[0-9]..$5.00' file |
Explanation
Finds all lines in the file containing the literal string [A-Z]****[0-9]..$5.00. All characters are treated as themselves. There are no special characters.
Read now
Unlock full access