[hackers] [sbase] Refactor tail(1) manpage and update README || FRIGN

From: <git_AT_suckless.org>
Date: Mon, 9 Feb 2015 17:12:35 +0100 (CET)

commit 3c14d65b469a86c86691096211e934db3c8defb7
Author: FRIGN <dev_AT_frign.de>
Date: Mon Feb 9 16:26:17 2015 +0100

    Refactor tail(1) manpage and update README
    
    It's not finished yet. We still need the c-flag.

diff --git a/README b/README
index ea3af59..5fbaf06 100644
--- a/README
+++ b/README
_AT_@ -64,7 +64,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 =* sponge non-posix none
    strings no -a, -n, -t
 =* sync non-posix none
-= tail no -c, -f
+= tail no -c
 =* tar non-posix none
 =* tee yes none
    test yes none
diff --git a/tail.1 b/tail.1
index d561a82..62df772 100644
--- a/tail.1
+++ b/tail.1
_AT_@ -1,4 +1,4 @@
-.Dd January 30, 2015
+.Dd February 9, 2015
 .Dt TAIL 1
 .Os sbase
 .Sh NAME
_AT_@ -6,21 +6,33 @@
 .Nd display final lines of files
 .Sh SYNOPSIS
 .Nm
-.Op Fl n Ar lines
-.Op Ar file
+.Op Fl f
+.Op Fl n Ar num
+.Op Ar file ...
 .Sh DESCRIPTION
 .Nm
-writes the last 10 lines of the file to stdout. If no
+writes the last 10 lines of each
+.Ar file
+to stdout. If no
 .Ar file
 is given,
 .Nm
 reads from stdin.
 .Sh OPTIONS
 .Bl -tag -width Ds
+.It Fl f
+If one
+.Ar file
+is specified, append lines to output as
+.Ar file
+grows.
 .It Fl n Ar lines
-Outputs the given number of lines. If
-.Ar lines
-begins with '+' it is used as an offset from the beginning of the file.
+Display
+.Ar num
+lines. If
+.Ar num
+begins with '+' it is used as an offset from the beginning of each
+.Ar file .
 .El
 .Sh SEE ALSO
 .Xr head 1
Received on Mon Feb 09 2015 - 17:12:35 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 09 2015 - 17:24:09 CET