SMOLNET PORTAL home about changes
README: make sure sfeed_update errors don't write to stderr - sfeed - RSS and Atom parser
(URL) git clone git://git.codemadness.org/sfeed (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0391bae406896b068c9e82b76aa6c26c7928efc7
(DIR) parent e1676198f01a1ba713e1bc9705db8df80cc47cfa
(URL) Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) application/vnd.lotus-organizer
Date: Thu, 19 May 2022 21:32:42 +0200
README: make sure sfeed_update errors don't write to stderr
It would mess up the output since the progress bar writes to stderr aswell.
Diffstat:
M README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/README b/README
@@ -1014,7 +1014,7 @@ Alternative: pv -l -s totallines
config="${1:-$HOME/.sfeed/sfeedrc}"
total=$(countfeeds "${config}")
- sfeed_update "${config}" | progress "${total}"
+ sfeed_update "${config}" 2>&1 | progress "${total}"
- - -
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed/commit/0391bae406896...
Content-Typeapplication/gopher-menu; charset=utf-8