| SFEED_PLAIN(1) | General Commands Manual | SFEED_PLAIN(1) |
NAME
sfeed_plain —
format feed data to a plain-text list
SYNOPSIS
sfeed_plain |
[file ...] |
DESCRIPTION
sfeed_plain formats feed data (TSV) from
sfeed(1) from stdin or for each
file to stdout as a plain-text list. If one or more
file arguments are specified then the basename of the
file is used as the feed name in the output. If no
file arguments are specified and so the data is read
from stdin then the feed name is empty.
Items with a timestamp from the last day compared to the system time at the time of formatting are marked as new. This value might be overridden through environment variables. Items are marked as new with the prefix "N" at the start of the line.
sfeed_plain aligns the output. It shows a
maximum of 70 column-wide characters for the title and outputs an ellipsis
symbol if the title is longer and truncated. Make sure the environment
variable LC_CTYPE is set to a UTF-8 locale, so it
can determine the proper column-width per rune, using
mbtowc(3) and
wcwidth(3).
ENVIRONMENT VARIABLES
SFEED_NEW_AGE- Overwrite the maximum age in seconds to mark feeds as new. By default this is 86400, which equals one day.
EXIT STATUS
The sfeed_plain utility exits 0 on
success, and >0 if an error occurs.
EXAMPLES
curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_plain
SEE ALSO
AUTHORS
Hiltjo Posthuma <hiltjo@codemadness.org>
| May 14, 2022 | Debian |