tSort in rpopen before unique so it works. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 170a028c6f93a03cec59677c378fab08e56df8a4
(DIR) parent 8f18598d23edd1d7ad4c012f5366145253fef592
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 20 Jul 2022 16:17:59 +0200
Sort in rpopen before unique so it works.
Diffstat:
bin/rpopen | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/rpopen b/bin/rpopen
t@@ -13,7 +13,7 @@ then
exit 1
fi
-url=$(rpview "$@" | awk '/^URL:/ {print $2}' | tr -d '\r' | uniq)
+url=$(rpview "$@" | awk '/^URL:/ {print $2}' | tr -d '\r' | sort | uniq)
for i in $url
do
echo $i