head -- print the first lines of a file.
head [-n count] [files ...]
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.
head accepts the following options:
Print count lines instead of the default 10.
The working of head is not influenced by any environment variables.
head has no known bugs.
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.
$Log: head,v $ Revision 1.2 2004/08/05 14:17:43 cwest cleanup, new version number on website Revision 1.1 2004/07/23 20:10:06 cwest initial import Revision 1.4 1999/03/02 17:37:26 abigail Added __DIE__ handler. Simplified dying on illegal count arguments. Revision 1.3 1999/03/02 17:28:39 abigail Provided support for reading from STDIN if no arguments are given. Revision 1.2 1999/02/26 18:39:59 abigail Fixed usage message. Revision 1.1 1999/02/26 18:38:59 abigail Initial revision
The Perl implementation of head was written by Abigail, firstname.lastname@example.org.
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.