summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-01-31 15:30:59 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-01-31 15:30:59 +0100
commit9f596550ca47071fe31b03e4ab27e08c60b65f71 (patch)
tree35b6fad5b5cc4bac22535973aa0076d6b4fc265c /sfeed_update
parent5c1aa75f6e93dda43f5bdda8c83f006e834f4fb5 (diff)
sfeed_update: don't try to sort on feedname field, it was removed
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_update b/sfeed_update
index 96691cf..eafbcfe 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -32,9 +32,9 @@ loadconfig() {
# merge(oldfile, newfile)
merge() {
# unique sort by id, link, title.
- # order by feedname (asc), timestamp (desc).
+ # order by timestamp (desc).
(sort -t ' ' -u -k7,7 -k4,4 -k3,3 "$1" "$2" 2>/dev/null) |
- sort -t ' ' -k10,10 -k1r,1
+ sort -t ' ' -k1r,1
}
# fetch a feed via HTTP/HTTPS etc.