Audit tail(1)

1) Specify default in manpage under flag.
2) Boolean and return value style fixes.
3) argv-argc-centric loop.
4) No need to check for argc == 1 before the fflag-subroutine.
5) Remove indentation.
6) Empty line before return.
This commit is contained in:
FRIGN
2015-03-17 23:24:43 +01:00
parent 3c5d0ce4ca
commit 6372a8f227
3 changed files with 35 additions and 36 deletions

4
tail.1
View File

@@ -1,4 +1,4 @@
.Dd March 5, 2015
.Dd March 17, 2015
.Dt TAIL 1
.Os sbase
.Sh NAME
@@ -31,7 +31,7 @@ it is an offset from the beginning of each
.Ar file .
If
.Ar num
begins with '-' it is as if no sign was given.
begins with '-' it is as if no sign was given. The default is 10 lines.
.It Fl f
If one
.Ar file