summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrif-listfriends.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rif-listfriends.sh b/rif-listfriends.sh
index f228be5..4a7e31f 100755
--- a/rif-listfriends.sh
+++ b/rif-listfriends.sh
@@ -1,4 +1,4 @@
#!/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 | awk -F: '/RIF/ { print gensub("\\\\x3a", ":", "g", $10) }'