diff options
Diffstat (limited to 'sfeed_tail.1')
-rw-r--r-- | sfeed_tail.1 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sfeed_tail.1 b/sfeed_tail.1 new file mode 100644 index 0000000..3259dbc --- /dev/null +++ b/sfeed_tail.1 @@ -0,0 +1,41 @@ +.Dd January 29, 2016 +.Dt SFEED_TAIL 1 +.Os +.Sh NAME +.Nm sfeed_tail +.Nd format unseen feed data to a plain-text list +.Sh SYNOPSIS +.Nm +.Op Ar file... +.Sh DESCRIPTION +.Nm +formats unseen feed data (TSV) from +.Xr sfeed 1 +from stdin or +.Ar file +to stdout as a plain-text list. If one or more +.Ar file +are specified, the basename of the +.Ar file +is used as the feed name in the output. If no +.Ar file +parameters are specified and so the data is read from stdin the feed name +is empty. +.Pp +.Nm +will mark the initial items on the first run as seen. Then it will print the +initial items if data is read from stdin, if the data is read on the first +run by specifying the argument(s) +.Ar file +it will not show the initial seen items. +.Pp +Unseen items are printed per line in a similar format to +.Xr sfeed_plain 1 , +duplicate items are ignored. The list of unique items is determined by the +fields: feedname, item id and UNIX timestamp of the item date. +.Sh SEE ALSO +.Xr sfeed 1 , +.Xr sfeed_plain 1 , +.Xr tail 1 +.Sh AUTHORS +.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org |