diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-26 12:37:38 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-26 12:37:38 +0100 |
commit | 489a3b12923ea6dc6a278bed023a40ab2b5375f0 (patch) | |
tree | 072f69c6ffa10a38b155fd1ae796e79c8710593e /README | |
parent | 8c0f231f734b5a9d736420eece311a87aa041103 (diff) |
README: small rewording
Diffstat (limited to 'README')
-rw-r--r-- | README | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1015,8 +1015,8 @@ file: - - - -Running custom commands inside the program ------------------------------------------- +Running custom commands inside the sfeed_curses program +------------------------------------------------------- Running commands inside the sfeed_curses program can be useful for example to sync items or mark all items across all feeds as read. It can be comfortable to @@ -1035,13 +1035,12 @@ or forkexec((char *[]) { "syncnews.sh", NULL }, 1); break; -The specified script should be in $PATH or an absolute path. +The specified script should be in $PATH or be an absolute path. Example of a `markallread.sh` shellscript to mark all URLs as read: #!/bin/sh # mark all items/URLs as read. - tmp=$(mktemp) (cat ~/.sfeed/urls; cut -f 3 ~/.sfeed/feeds/*) | \ awk '!x[$0]++' > "$tmp" && |