# LAST v1.11 - copy last n lines

#### Revised 9-May-97. Copyright (c) 1996-97 by Rune Berg. TextTools Freeware.

Usage - Description - Options - Limitations

### USAGE

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

### DESCRIPTION

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.

### OPTIONS

-v : Print version banner and usage info to standard error (or logfile, if given), then exit.

### LIMITATIONS

None known.

##### End of document