diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-02-27 16:24:40 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-02-27 16:24:40 +0100 |
commit | fddb44b76944d8aa107260f83daedd0c9a98f6dc (patch) | |
tree | 2a4e55930ffd238f3eff4ac1f6ad26205c0f8a4a | |
parent | 13927fc6083c3d134e456ccfafb953c6cea17662 (diff) |
sfeed_tail
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | sfeed_tail.1 | 4 | ||||
-rw-r--r-- | sfeed_tail.c | 4 |
3 files changed, 7 insertions, 2 deletions
@@ -102,6 +102,7 @@ sfeed_opml_export - Generate an OPML XML file from a sfeedrc config file. sfeed_opml_import - Generate a sfeedrc config file from an OPML XML file. sfeed_mbox - Format feed data (TSV) to mbox. sfeed_plain - Format feed data (TSV) to a plain-text list. +sfeed_tail - Format unseen feed data (TSV) to a plain-text list. sfeed_update - Update feeds and merge with old feeds in the directory $HOME/.sfeed/feeds by default. sfeed_web - Find urls to RSS/Atom feed from a webpage. diff --git a/sfeed_tail.1 b/sfeed_tail.1 index 3259dbc..a9b5f57 100644 --- a/sfeed_tail.1 +++ b/sfeed_tail.1 @@ -33,6 +33,10 @@ 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 , diff --git a/sfeed_tail.c b/sfeed_tail.c index 1608ce7..ecc0278 100644 --- a/sfeed_tail.c +++ b/sfeed_tail.c @@ -14,8 +14,8 @@ static char *line; static size_t linesize; struct line { - char *timestamp; - char *id; + char *s; + size_t len; struct line *next; }; |