From 24ca3128d064f4ecf6c00bc77f2290a5a6112d49 Mon Sep 17 00:00:00 2001
From: Case Duckworth
Date: Wed, 27 Jul 2022 12:51:26 -0500
Subject: Add reddit feeds to merging by timestamp only

---
 sfeedrc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'sfeedrc')

diff --git a/sfeedrc b/sfeedrc
index f6609d3..9b15324 100644
--- a/sfeedrc
+++ b/sfeedrc
@@ -376,10 +376,14 @@ fetch() { # fetch(name, url, feedfile)
 merge() {
 	# merge(name, oldfile, newfile)
 	case "$1" in
-	*'Tildes'*)
+	*'Tildes'* | *r_*)
 		# Tildes changes its IDs and titles fairly regularly, which is really
 		# annoying and adds false doubles.  So here, remove the last
-		# element of the path name (the title), and sort ONLY on TIMESTAMP.
+		# element of the path name (the title), and sort ONLY on
+		# TIMESTAMP.
+		#
+		# Reddit also sometimes does weird things, so let's just use
+		# timestamps for that too.
 		cat "$2" "$3" |
 			sort -t '	' -k1,1 -u
 		;;
-- 
cgit 1.4.1-21-gabe81