• Open Daily: 10am - 10pm
    Alley-side Pickup: 10am - 7pm

    3038 Hennepin Ave Minneapolis, MN
    612-822-4611

Open Daily: 10am - 10pm | Alley-side Pickup: 10am - 7pm
3038 Hennepin Ave Minneapolis, MN
612-822-4611
GNU Grep: Print lines matching a pattern

GNU Grep: Print lines matching a pattern

Paperback

Operating Systems

ISBN10: 9888381466
ISBN13: 9789888381463
Publisher: Artpower Intl Pub
Published: Nov 11 2015
Pages: 36
Weight: 0.24
Height: 0.07 Width: 8.50 Depth: 11.02
Language: English
grep searches input files for lines containing a match to a given pattern list. 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.

Though grep expects to do the matching on text, it has no limits on input line length other than available memory, and it can match arbitrary characters within a line. If the final byte of an input file is not a newline, grep silently supplies one. Since newline is also a separator for the list of patterns, there is no way to match newline characters in a text.

Also in

Operating Systems