(grep.info)Invoking


Next: Regular Expressions Prev: Introduction Up: Top
Enter node , (file) or (file)node

2 Invoking ‘grep’
*****************

The general synopsis of the ‘grep’ command line is

     grep [OPTION...] [PATTERNS] [FILE...]


   There can be zero or more OPTION arguments, and zero or more FILE
arguments.  The PATTERNS argument contains one or more patterns
separated by newlines, and is omitted when patterns are given via the
‘-e PATTERNS’ or ‘-f FILE’ options.

Command-line Options
Short and long names, grouped by category.
Environment Variables
POSIX, GNU generic, and GNU grep specific.
Exit Status
Exit status returned by ‘grep’.
grep Programs
‘grep’ programs.

automatically generated by info2www version 1.2.2.9