simplify header comment in scripts - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
(HTM) git clone git://git.codemadness.org/sfeed_curses
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 976c3d377d2c97129d7cf3477fcdcb02efa48e69
(DIR) parent d4d23f32309713d4204f72845ee45b6a67256aaf
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 24 Jul 2021 22:37:16 +0200
simplify header comment in scripts
For maintainability: the README lists the dependencies and the man page and
README contains documentation.
Diffstat:
M sfeed_content | 6 +-----
M sfeed_markread | 3 +--
2 files changed, 2 insertions(+), 7 deletions(-)
---
(DIR) diff --git a/sfeed_content b/sfeed_content
@@ -1,9 +1,5 @@
#!/bin/sh
-# RSS/Atom content viewer for sfeed(5) lines.
-#
-# Dependencies:
-# - awk, sh, less or an other pager.
-# - lynx (or an other tool) for converting HTML to plain-text.
+# Content viewer for sfeed(5) lines.
awk -F '\t' '
function unescape(s) {
(DIR) diff --git a/sfeed_markread b/sfeed_markread
@@ -1,6 +1,5 @@
#!/bin/sh
-# usage: $0 <read|unread>
-# input is the read / unread url per line.
+# Mark items as read/unread: the input is the read / unread URL per line.
if test -z "$SFEED_URL_FILE"; then
echo "\$SFEED_URL_FILE must be set" >&2