sbase/tail.1
Hiltjo Posthuma 57a19e3b86 add some mandoc pages and fix some warnings
- add .Os, it is mandatory.
- don't redeclare .Nm when it's not needed.
- fix some warnings (checked with mandoc -Tlint).
- remove some leftover old stuff.
2015-01-30 21:21:50 +01:00

24 lines
460 B
Groff

.Dd January 30, 2015
.Dt TAIL 1 sbase\-VERSION
.Os
.Sh NAME
.Nm tail
.Nd display final lines of files
.Sh SYNOPSIS
.Nm
.Op Fl n Ar lines
.Op Ar file
.Sh DESCRIPTION
.Nm
writes the last 10 lines of the file to stdout. If no file is given, tail reads
from stdin.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl n Ar lines
outputs the given number of lines. If
.El
.Ar lines
begins with '+' it is used as an offset from the beginning of the file.
.Sh SEE ALSO
.Xr head 1