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

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


UsageTop | Next

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


DescriptionTop | Previous | Next

last copies the last n lines of infile to outfile.

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

n must be in the range 0 .. 32767 on DOS, 0 .. 2147483647 on Win32.

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


OptionsTop | Previous | Next

last recognizes the following command line options:


LimitationsTop | Previous | Next

last can run out of memory if n is large.


Return CodesTop | Previous | Next

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


Version HistoryTop | Previous

These are the released versions:

End of document