Scroll to navigation

SFEED_MARKREAD(1) General Commands Manual SFEED_MARKREAD(1)

NAME

sfeed_markreadmark items as read/unread

SYNOPSIS

sfeed_markread read | unread [urlfile]

DESCRIPTION

sfeed_markread reads a plain-text list of URLs from stdin. The file format for the list of URLs is one URL per line. sfeed_markread will write to the file specified as urlfile or with the environment variable SFEED_URL_FILE. The sfeed_markread script can be used by sfeed_curses(1) to mark items as read and unread.

ENVIRONMENT VARIABLES

This variable can be set to use as the path to the file containing a plain-text list of read URLs.

EXIT STATUS

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

EXAMPLES

export SFEED_URL_FILE="$HOME/.sfeed/urls"
echo 'https://codemadness.org/sfeed.html' | sfeed_markread read

or

echo 'https://codemadness.org/sfeed.html' | sfeed_markread read ~/.sfeed/urls

SEE ALSO

awk(1), sfeed_curses(1)

AUTHORS

Hiltjo Posthuma <hiltjo@codemadness.org>

July 25, 2021 Debian