sfeed_update: suppress output to stderr, like merge() already does - sfeed - RSS and Atom parser (HTM) git clone git://git.codemadness.org/sfeed (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 8bdb849e449c5236a1ef7e8b4b91186790f7fb29 (DIR) parent 20bfe3d26d68d69539740110d3663b7853dad0e2 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 27 Dec 2023 13:16:40 +0100 sfeed_update: suppress output to stderr, like merge() already does Noticed while testing TMPDIR=/noaccess sort on Illumos/OpenIndiana, which gives a warning to stderr. For sort temporary directories might be used for large output. Diffstat: M sfeed_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/sfeed_update b/sfeed_update @@ -85,7 +85,7 @@ merge() { # order by timestamp (descending). # order(name, url) order() { - sort -t ' ' -k1rn,1 + sort -t ' ' -k1rn,1 2>/dev/null } # internal handler to fetch and process a feed.