sfeed_markread.1 - sfeed - RSS and Atom parser
 (HTM) git clone git://git.codemadness.org/sfeed
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       sfeed_markread.1 (1074B)
       ---
            1 .Dd October 27, 2024
            2 .Dt SFEED_MARKREAD 1
            3 .Os
            4 .Sh NAME
            5 .Nm sfeed_markread
            6 .Nd mark items as read/unread
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Ar read | Ar unread
           10 .Op Ar urlfile
           11 .Sh DESCRIPTION
           12 .Nm
           13 reads a plain-text list of URLs from stdin.
           14 The file format for the list of URLs is one URL per line.
           15 .Nm
           16 will write to the file specified as
           17 .Ar urlfile
           18 or with the environment variable
           19 .Ev SFEED_URL_FILE .
           20 The
           21 .Nm
           22 script can be used by
           23 .Xr sfeed_curses 1
           24 to mark items as read and unread.
           25 .Sh ENVIRONMENT VARIABLES
           26 .Bl -tag -width Ds
           27 .It Ev SFEED_URL_FILE
           28 This variable can be set to use as the path to the file containing a
           29 plain-text list of read URLs.
           30 .El
           31 .Sh EXIT STATUS
           32 .Ex -std
           33 .Sh EXAMPLES
           34 Example:
           35 .Bd -literal -offset 4n
           36 export SFEED_URL_FILE="$HOME/.sfeed/urls"
           37 echo 'https://codemadness.org/sfeed.html' | sfeed_markread read
           38 .Ed
           39 .Pp
           40 or pass the
           41 .Ar urlfile
           42 as a parameter:
           43 .Bd -literal -offset 4n
           44 echo 'https://codemadness.org/sfeed.html' | sfeed_markread read ~/.sfeed/urls
           45 .Ed
           46 .Sh SEE ALSO
           47 .Xr awk 1 ,
           48 .Xr sfeed_curses 1
           49 .Sh AUTHORS
           50 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org