summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfeed_update b/sfeed_update
index 43677ae..53b00f0 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -61,18 +61,18 @@ filter() {
cat
}
-# order by timestamp (descending).
-# order(name)
-order() {
- sort -t ' ' -k1rn,1
-}
-
# merge raw files: unique sort by id, title, link.
# merge(name, oldfile, newfile)
merge() {
sort -t ' ' -u -k6,6 -k2,2 -k3,3 "$2" "$3" 2>/dev/null
}
+# order by timestamp (descending).
+# order(name)
+order() {
+ sort -t ' ' -k1rn,1
+}
+
# fetch and parse feed.
# feed(name, feedurl, [basesiteurl], [encoding])
feed() {