< Day Day Up > |
grep ”searches a file for a patterngrep [ bchilnsvw ] limitedregularexpression [ filename ... ] grep searches files for a pattern and prints all lines that contain that pattern. Uses regular expression metacharacters to match the patterns. egrep has an extended set of metacharacters. Example A.32.1 grep Tom file1 file2 file3 2 grep -in '^tom savage' * EXPLANATION
|
< Day Day Up > |