Add mandoc-manpage for cat(1)

and mark it as finished in the README.
This commit is contained in:
FRIGN 2015-01-16 10:40:59 +01:00 committed by sin
parent f196a7dfd9
commit 7a58d65483
2 changed files with 29 additions and 10 deletions

2
README
View File

@ -10,7 +10,7 @@ The following tools are implemented (* == finished):
------- -------------------- --------------- ------- -------------------- ---------------
* basename yes none * basename yes none
cal pending pending cal pending pending
cat yes none * cat yes none
chgrp no -h, -H, -L, -P chgrp no -h, -H, -L, -P
chmod yes none chmod yes none
chown no -h, -H, -L, -P chown no -h, -H, -L, -P

37
cat.1
View File

@ -1,10 +1,29 @@
.TH CAT 1 sbase\-VERSION .Dd January 16, 2015
.SH NAME .Dt CAT 1 sbase\-VERSION
cat \- concatenate files .Sh NAME
.SH SYNOPSIS .Nm cat
.B cat .Nd concatenate files
.RI [ file ...] .Sh SYNOPSIS
.SH DESCRIPTION .Nm cat
.B cat .Op Fl u
reads each file in sequence and writes it to stdout. If no file is given, cat .Op Ar file ...
.Sh DESCRIPTION
.Nm
reads each
.Ar file
in sequence and writes it to stdout. If no
.Ar file
is given,
.Nm
reads from stdin. reads from stdin.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl u
Unbuffered output
.El
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.