diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-11 18:27:22 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-11 18:27:22 +0100 |
commit | a28aa0400b28a7655f39e0d2a07a7163c326f052 (patch) | |
tree | d4d8bce98d0c81f6b6d417828440c877c213df40 /sfeed_tail.1 | |
parent | b6b61f8d999e2b9ce3a0d712e58d8220b4ba746e (diff) |
Revert "remove sfeed_tail: the standard tail -f can (soon) be used"
This reverts commit 7f3a45b0031ec9cababf764f7826e21bbb59e258.
Diffstat (limited to 'sfeed_tail.1')
-rw-r--r-- | sfeed_tail.1 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sfeed_tail.1 b/sfeed_tail.1 new file mode 100644 index 0000000..a64aca1 --- /dev/null +++ b/sfeed_tail.1 @@ -0,0 +1,48 @@ +.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 IMPLEMENTATION NOTES +Keep in mind that because +.Nm +keeps a list of all the items it can consume much memory. +.Sh SEE ALSO +.Xr sfeed 1 , +.Xr sfeed_plain 1 , +.Xr tail 1 +.Sh AUTHORS +.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org |