]> git.netwichtig.de Git - user/henk/code/shell/rif.git/blobdiff - rif-checkfriends.sh
Update all files to use RI6F instead of RIF
[user/henk/code/shell/rif.git] / rif-checkfriends.sh
index 24bb12f04461cc3869a13c14d1f63f10de99db29..af029213cbf8caf9679b818a0069ce485db5ffc6 100755 (executable)
@@ -1,13 +1,13 @@
 #!/bin/sh
 # 2019-09-10, Nico Schottelius, Seoul
 
-gpg --list-keys --with-colons | grep RIF | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | (
+gpg --list-keys --with-colons | grep RI6F | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | (
     while read line
     do
         name=$(echo $line | sed 's/\(.*\)(.*/\1/')
         # Assume by default offline
         online=offline
-        url=$(echo $line | sed -e 's/.*(RIF //' -e 's/).*//')
+        url=$(echo $line | sed -e 's/.*(RI6F //' -e 's/).*//')
         echo "Checking $name on $url ..."
         curl -6 -s "$url" > /dev/null && online=online
         echo $name is $online