Use just awk instead of grep + awk + sed combo
This commit is contained in:
parent
c2b79a2199
commit
f6c60dc428
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# 2019-09-10, Nico Schottelius, Seoul
|
# 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) }'
|
||||||
|
|
Loading…
Reference in a new issue