p3-head

Return First Few Lines of the Input File

p3-head.pl [options]

This script returns the header line plus the first few data lines of the standard input stream. It is similar to the Unix headcommand, but works on Windows.

Parameters

There are no positional parameters.

The standard input can be overridden using the options in Input Options.

Additional command-line options are as follows.

  • nohead

The file has no headers.

  • lines

The number of data lines to display. If there is a header line, it is not counted in this number. The default is 10.