FIRST v1.30 - copy first n lines
Revised 2-Jan-99. Copyright (c) 1996-99 by Rune Berg. TextTools Freeware.

Usage | Description | Options | Return Codes | Version History | tt_r6


UsageTop | Next

first [log logfile] [option] n [infile] [to outfile]


DescriptionTop | Previous | Next

first copies the n first lines of infile to outfile.

If infile has n or fewer lines, then first copies all of infile.

n must be an integer in the range 0 .. 2147483647.

If you don't specify infile, first reads from standard input.
If you don't specify outfile, first writes to standard output.
If you don't specify logfile, first writes error messages to standard error.


OptionsTop | Previous | Next

first recognizes the following command line options:


Return CodesTop | Previous | Next

first returns with one of the following codes ("error levels"):


Version HistoryTop | Previous

These are the released versions:

End of document