Global Regular Expressions Print

grep [výraz] [soubor]
## hledá výraz v souboru a vypisuje řádky, které ho obsahují
přepínače:

-V <===> Vypise verzi GREPu // --version // Output the version number of grep and exit
-E <===> --extended-regexp // Interpret PATTERNS as extended regular expressions (ERE)
-w <===> --word-regexp // Select only those lines containing matches that form whole words. The test is that the matching substring must either be at the beginning of the line, or preceded by a non-word constituent character. Similarly, it must be either at the end of the line or followed by a non-word constituent character. Word-constituent characters are letters, digits, and the underscore. This option has no effect if -x is also specified.