AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

GREP ( 1) GREP (1) The order of precedence of operators is [], then * ? +, then concatenation, then I and new-line. SEE ALSO ed(1), sed(1), sh(1). DIAGNOSTICS Exit status is 0 if any matches are found, 1 if none, 2 for syntax errors or inaccessible files (even if matches were found). BUGS Ideally there should be only one grep, but we don't know a single algorithm that spans a wide enough range of space-time tradeoffs. Lines are limited to 256 characters; longer lines are truncated. Egrep does not recognize ranges, such as [a-z], in character classes. When using the -b option, grep reports the block number of the match in 512-byte blocks; egrep and fg rep report the block number in 1024-byte blocks. - 2 -

HEAD ( l ) HEAD ( l ) NAME head - give first few lines SYNOPSIS head [ - count ] [ file . . . ] DESCRIPTION Head gives the first count lines of each of the specified files. If no files are specified, head reads the standard input. If you omit count, head prints the first 10 lines. SEE ALSO tail( 1). - 1 -

HEAD ( l )<br />

HEAD ( l )<br />

NAME<br />

head - give first few lines<br />

SYNOPSIS<br />

head [ - count ] [ file . . . ]<br />

DESCRIPTION<br />

Head gives the first count lines of each of the specified files. If no<br />

files are specified, head reads the standard input. If you omit<br />

count, head prints the first 10 lines.<br />

SEE ALSO<br />

tail( 1).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!