Search results
grep understands three different versions of regular expression syntax: “basic” (BRE), “extended” (ERE) and “perl” (PCRE). In GNU grep, basic and extended regular expressions are merely different notations for the same pattern-matching functionality. In other implementations, basic regular expressions are ordinarily less powerful ...
grep searches the named input FILE s (or standard input if no files are named, or if a single hyphen-minus (-) is given as file name) for lines containing a match to the given PATTERN. By default, grep prints the matching lines.
DESCRIPTION top. The grep utility shall search the input files, selecting lines matching one or more patterns; the types of patterns are controlled by the options specified. The patterns are specified by the -e option, -f option, or the pattern_list operand.
Program grep przeszukuje wskazane PLIKI wejściowe (lub standardowe wejście, jeśli nie podano żadnych lub podano nazwę pliku pojedynczy minus (-) jako nazwę pliku) szukając wierszy zawierających coś pasującego do podanego WZORCA.
Given one or more patterns, grep searches input files for matches to the patterns. When it finds a match in a line, it copies the line to standard output (by default), or produces whatever other sort of output you have requested with options.
grep - wypisuje wiersze pasujące do wzorca. SKŁADNIA. grep [OPCJA...] WZORCE [PLIK...] grep [OPCJA...] -e WZORCE... [PLIK...] grep [OPCJA...] -f PLIK_WZORCOWY... [PLIK...] OPIS. grep szuka WZORCÓW w każdym PLIKU.
man grep (1): Grep searches the input files (standard input default) for lines that match the pattern, a regular expression as defined in regexp(7) with the addition of a newline character as an alternative (substitute for |) with lowest precedence.