tOnly open unique URIs in rpopen. - 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 8f18598d23edd1d7ad4c012f5366145253fef592
 (DIR) parent c783ccce7fb5e05d59bfc8815ba7191362632d96
 (HTM) 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:
         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')
       +url=$(rpview "$@" | awk '/^URL:/ {print $2}' | tr -d '\r' | uniq)
        for i in $url
        do
                echo $i