From 3582478dfa3e10e4a1942d69e21924695ba2ee71 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 24 Jul 2024 16:35:58 +0300 Subject: minor fix --- lib/_ak_gpg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/_ak_gpg b/lib/_ak_gpg index d0b3b26..bd949f9 100755 --- a/lib/_ak_gpg +++ b/lib/_ak_gpg @@ -180,7 +180,8 @@ _ak_gpg_list_keys_long(){ grep -A 1 '^ \{6\}' | \ tr $'\n' ' ' | \ tr '\-\-' $'\n' | \ - awk '{print $1 " " $5}' | \ + sed -e 's/\[//g' | \ + awk '{print $1 " " $4}' | \ sort | \ uniq } -- cgit v1.2.3