summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_update b/sfeed_update
index 6d029e7..5a8044a 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -35,10 +35,10 @@ loadconfig() {
# merge(oldfile, newfile)
merge() {
# unique sort by id, link, title.
- # order by feedname (asc), feedurl (asc) and timestamp (desc).
+ # order by feedname (asc), timestamp (desc).
(cat "$1" "$2" 2> /dev/null) |
sort -t ' ' -u -k7,7 -k4,4 -k3,3 |
- sort -t ' ' -k10,10 -k11,11 -k1r,1
+ sort -t ' ' -k10,10 -k1r,1
}
# fetch a feed via HTTP/HTTPS etc.