Audit cat(1)

1) Fix usage ... spacing
2) use *argv instead of argv[0] in the idiomatic for-loop
3) Stop the naïve usage of "/dev/fd/0" and use plain stdin
   instead (This also makes error-messages more consistent).
4) Add newline before return
5) Remove comma in manpage
This commit is contained in:
FRIGN
2015-03-02 00:36:51 +01:00
parent 7afc84396a
commit d806f75cb6
3 changed files with 13 additions and 12 deletions

4
cat.1
View File

@@ -1,4 +1,4 @@
.Dd January 16, 2015
.Dd March 1, 2015
.Dt CAT 1
.Os sbase
.Sh NAME
@@ -14,7 +14,7 @@ reads each
.Ar file
in sequence and writes it to stdout. If no
.Ar file
is given,
is given
.Nm
reads from stdin.
.Sh OPTIONS