Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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  char-
     acters  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  de-
	     fault 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
     sfeed(1), sfeed_html(1), sfeed(5)

AUTHORS
     Hiltjo Posthuma <hiltjo@codemadness.org>

FreeBSD ports 15.quarterly	  May 14, 2022			  SFEED_PLAIN(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sfeed_plain&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help