SFEED_PLAIN(1)
π SFEED_PLAIN(1) π
okay bestie, welcome to sfeed_plain from the General Commands Manual section 1 β she's a little formatting gremlin and she's about to make your feed data look adorable β¨
πΈ NAME πΈ
sfeed_plain β format feed data to a plain-text list
π SYNOPSIS π
sfeed_plain [file ...]
β¨ DESCRIPTION β¨
so basically, sfeed_plain takes feed data (that's TSV, tab-separated values, the whole vibe) coming from sfeed(1) β either from stdin or from each file you hand her β and formats it to stdout as a plain-text list. π
If you pass one or more file arguments, then the basename of the file gets used as the feed name in the output. And if you pass no file arguments at all, so she's reading from stdin, then the feed name is justβ¦ empty. nothing. a void. π«₯
Items whose timestamp is from the last day compared to the system time at the time of formatting get marked as new. That value can be overridden through environment variables, iykyk. New items get the prefix "N" slapped at the start of the line. π
sfeed_plain aligns the output, because she's β¨aestheticβ¨. She shows a maximum of 70 column-wide characters for the title, and if the title is longer and gets truncated she outputs an ellipsis symbol. so dramatic, we love her. π
bestie pls make sure the environment variableLC_CTYPEis set to a UTF-8 locale, so she can determine the proper column-width per rune, usingmbtowc(3)andwcwidth(3). otherwise it's giving chaos. π
π¦ ENVIRONMENT VARIABLES π¦
SFEED_NEW_AGEβ overwrite the maximum age in seconds to mark feeds as new. by default this is86400, which equals exactly one day. β°
π₯ EXIT STATUS π₯
The sfeed_plain utility exits 0 on success, and >0 if an error occurs. no in-between, she's not ambiguous. π
π EXAMPLES π
curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_plain
look at her go. pipeline queen. π
π SEE ALSO π
π AUTHORS π
Hiltjo Posthuma <hiltjo@codemadness.org>
and that's the whole page bestie!! this lil cutie is from the Debian build of the manual, dated May 14, 2022, and honestly? iconic behavior. go format some feeds. π§β¨π
π¦ where this page comes from
- alpine 3.24: sfeed-doc 2.4-r0 Β· ISC
- debian trixie: sfeed 2.2-1 Β· ISC
- nixos 26.05: sfeed 2.4
- nixpkgs unstable: sfeed 2.4
- ubuntu noble: sfeed 2.0-1 Β· ISC
- ubuntu questing: sfeed 2.2-1
- ubuntu resolute: sfeed 2.3-1 Β· ISC
- ubuntu stonking: sfeed 2.3-1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms