minix3/commands/grep
BAREEDU SAI SANDEEP SANDEEP 67a9e8efa1 Pid build and working 2020-02-21 00:59:27 +05:30
..
.depend Pid build and working 2020-02-21 00:59:27 +05:30
.gdbinit Pid build and working 2020-02-21 00:59:27 +05:30
Makefile Pid build and working 2020-02-21 00:59:27 +05:30
binary.c Pid build and working 2020-02-21 00:59:27 +05:30
binary.d Pid build and working 2020-02-21 00:59:27 +05:30
binary.o Pid build and working 2020-02-21 00:59:27 +05:30
file.c Pid build and working 2020-02-21 00:59:27 +05:30
file.d Pid build and working 2020-02-21 00:59:27 +05:30
file.o Pid build and working 2020-02-21 00:59:27 +05:30
grep Pid build and working 2020-02-21 00:59:27 +05:30
grep.1 Pid build and working 2020-02-21 00:59:27 +05:30
grep.c Pid build and working 2020-02-21 00:59:27 +05:30
grep.d Pid build and working 2020-02-21 00:59:27 +05:30
grep.h Pid build and working 2020-02-21 00:59:27 +05:30
grep.o Pid build and working 2020-02-21 00:59:27 +05:30
mmfile.c Pid build and working 2020-02-21 00:59:27 +05:30
mmfile.d Pid build and working 2020-02-21 00:59:27 +05:30
mmfile.o Pid build and working 2020-02-21 00:59:27 +05:30
queue.c Pid build and working 2020-02-21 00:59:27 +05:30
queue.d Pid build and working 2020-02-21 00:59:27 +05:30
queue.o Pid build and working 2020-02-21 00:59:27 +05:30
readme.md Pid build and working 2020-02-21 00:59:27 +05:30
util.c Pid build and working 2020-02-21 00:59:27 +05:30
util.d Pid build and working 2020-02-21 00:59:27 +05:30
util.o Pid build and working 2020-02-21 00:59:27 +05:30

readme.md

FreeGrep

The grep utility searches any given input files, selecting lines that match one or more patterns. By default, a pattern matches an input line if the regular expression in the pattern matches the input line without its trailing newline. An empty expression matches every line. Each input line that matches at least one of the patterns is written to the standard output. grep is used for simple patterns and basic regular expressions; egrep can handle extended regular expressions. fgrep is quicker than both grep and egrep, but can only handle fixed patterns (i.e. it does not interpret regular expressions). Patterns may consist of one or more lines, allowing any of the pattern lines to match a portion of the input. zgrep, zegrep, and zfgrep act like grep, egrep, and fgrep, respectively, but accept input files compressed with the compress or gzip compression utilities.