Casey West > ppt-0.14 > head

Download:
ppt-0.14.tar.gz

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source  

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.

REVISION HISTORY ^

    $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

AUTHOR ^

The Perl implementation of head was written by Abigail, abigail@fnx.com.

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.

syntax highlighting: