grep - search file(s) for a pattern — Inferno 1ed
grep - search file(s) for a pattern
grep [-l] [-n] [-e pattern] [-v] pattern [file... ]
Description
The grep command searches the input files (standard input, by default) for lines that match the pattern, a regular expression as defined in regex. Lines matching the pattern ('matching' lines) are printed to the standard output.grep pattern file1 - file2
Options
See Also
regex - regular expression recognizer in Chapter 15
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.