logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sfeed_plain — format feed data to a plain-text list

Authors

       Hiltjo Posthuma <hiltjo@codemadness.org>

Debian                                            May 14, 2022                                    SFEED_PLAIN(1)

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.

Examples

       curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_plain

Exit Status

       The sfeed_plain utility exits 0 on success, and >0 if an error occurs.

Name

       sfeed_plain — format feed data to a plain-text list

See Also

sfeed(1), sfeed_html(1), sfeed(5)

Synopsis

sfeed_plain [file...]

See Also