Compaq AlphaServer ES45 Service Manual page 126

Hide thumbs Also See for AlphaServer ES45:
Table of Contents

Advertisement

Syntax
grep ( [-{c|i|n|v}] [-f <file>] [<expression>] [<file>...] )
Arguments
<expression>
Specifies the target regular expression. If any regular
expression metacharacters are present, the expression
should be enclosed with quotes to avoid interpretation by the
shell.
<file>...
Specifies the files to be searched. If none are present, then
standard input is searched.
Options
-c
Print only the number of lines matched.
-i
Ignore case. By default grep is case sensitive.
-n
Print the line numbers of the matching lines.
-v
Print all lines that do not contain the expression.
Take regular expressions from a file, instead of command.
-f <file>
4-24
ES45 Service Guide

Advertisement

Table of Contents
loading

Table of Contents