diff options
author | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-11-03 16:13:28 +0100 |
---|---|---|
committer | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-11-03 16:13:28 +0100 |
commit | 21034ed2f029e39541cd006b6c3d746caa0a3d78 (patch) | |
tree | bc3193ec31b42e591d60936ec9d5d6847ebd24e9 /rif-checkfriends.sh | |
parent | 679c6ffb8f8d87c6802a81ae2da272f4c9108baf (diff) |
GnuPG is not case-sensitive and RIF may collide with "verification" and
possibly other terms
Diffstat (limited to 'rif-checkfriends.sh')
-rwxr-xr-x | rif-checkfriends.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rif-checkfriends.sh b/rif-checkfriends.sh index 24bb12f..af02921 100755 --- a/rif-checkfriends.sh +++ b/rif-checkfriends.sh @@ -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 |