The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

head - print the first lines of a file

SYNOPSIS

head [-n count] [files ...]

DESCRIPTION

head prints the first count lines from each file. If the -n is not given, the first 10 lines will be printed. If no files are given, the first lines of standard input will be printed.

OPTIONS

head accepts the following options:

-n count

Print count lines instead of the default 10.

ENVIRONMENT

The working of head is not influenced by any environment variables.

BUGS

head has no known bugs.

STANDARDS

This head implementation is compliant with the IEEE Std1003.2-1992 specification, also known as POSIX.2.

This head implementation is compatible with the OpenBSD implementation.

AUTHOR

The Perl implementation of head was written by Abigail, perlpowertools@abigail.be.

COPYRIGHT and LICENSE

This program is copyright by Abigail 1999.

This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.