|
|
sfeed_update: suppress output to stderr, like merge() already does - sfeed - RSS and Atom parser |
|
|
 |
git clone git://git.codemadness.org/sfeed (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit 8bdb849e449c5236a1ef7e8b4b91186790f7fb29 |
|
|
 |
parent 20bfe3d26d68d69539740110d3663b7853dad0e2 |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
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(-) |
|
|
|
--- |
|
|
 |
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. |
|