summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-02-26 12:37:38 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-02-26 12:37:38 +0100
commit489a3b12923ea6dc6a278bed023a40ab2b5375f0 (patch)
tree072f69c6ffa10a38b155fd1ae796e79c8710593e
parent8c0f231f734b5a9d736420eece311a87aa041103 (diff)
README: small rewording
-rw-r--r--README7
1 files changed, 3 insertions, 4 deletions
diff --git a/README b/README
index 398b96d..459f513 100644
--- a/README
+++ b/README
@@ -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" &&