grep prints lines that contain a match for one or more patterns.

This manual is for version 3.11 of GNU Grep.

This manual is for grep, a pattern matching engine.

Copyright © 1999–2002, 2005, 2008–2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

Table of Contents