suckless unix tools
git clone
Log | Files | Refs | README | LICENSE

commit 7a58d65483124c4866d8294de490ebe766b283db
parent f196a7dfd93eab1728b02345b6add8c18c8eb276
Author: FRIGN <>
Date:   Fri, 16 Jan 2015 10:40:59 +0100

Add mandoc-manpage for cat(1)

and mark it as finished in the README.

Mcat.1 | 37++++++++++++++++++++++++++++---------
2 files changed, 29 insertions(+), 10 deletions(-)

diff --git a/README b/README @@ -10,7 +10,7 @@ The following tools are implemented (* == finished): ------- -------------------- --------------- * basename yes none cal pending pending - cat yes none +* cat yes none chgrp no -h, -H, -L, -P chmod yes none chown no -h, -H, -L, -P diff --git a/cat.1 b/cat.1 @@ -1,10 +1,29 @@ -.TH CAT 1 sbase\-VERSION -.SH NAME -cat \- concatenate files -.SH SYNOPSIS -.B cat -.RI [ file ...] -.SH DESCRIPTION -.B cat -reads each file in sequence and writes it to stdout. If no file is given, cat +.Dd January 16, 2015 +.Dt CAT 1 sbase\-VERSION +.Sh NAME +.Nm cat +.Nd concatenate files +.Sh SYNOPSIS +.Nm cat +.Op Fl u +.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. +.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.