commit 8f18598d23edd1d7ad4c012f5366145253fef592
parent c783ccce7fb5e05d59bfc8815ba7191362632d96
Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 20 Jul 2022 16:16:49 +0200
Only open unique URIs in rpopen.
Saves when opening duplicates in rss feeds.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/rpopen b/bin/rpopen
@@ -13,7 +13,7 @@ then
exit 1
fi
-url=$(rpview "$@" | awk '/^URL:/ {print $2}' | tr -d '\r')
+url=$(rpview "$@" | awk '/^URL:/ {print $2}' | tr -d '\r' | uniq)
for i in $url
do
echo $i