From: Steven Baltakatei Sandoval Date: Wed, 9 Mar 2022 16:45:52 +0000 (+0000) Subject: fix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail X-Git-Tag: 0.5.0~11 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/439307badfa2713a552d22a0ca6fa32e63e10a44?ds=inline;hp=--cc fix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail - Note: output was omitting uid line --- 439307badfa2713a552d22a0ca6fa32e63e10a44 diff --git a/user/bk-gpgfp-noemail b/user/gpgfp-noemail similarity index 98% rename from user/bk-gpgfp-noemail rename to user/gpgfp-noemail index a0f4c3a..6a2bd04 100755 --- a/user/bk-gpgfp-noemail +++ b/user/gpgfp-noemail @@ -2,7 +2,7 @@ # Desc: Gets gpg fingerprint but replaces uid email addresses with hashes # Usage: bk-gpgfp-noemail 0xdc3469c9 74810B012346C9A6 # Depends: gpg, b2sum -# Version: 0.0.2 +# Version: 0.0.3 yell() { echo "$0: $*" >&2; } # print script path and all args to stderr die() { yell "$*"; exit 111; } # same as yell() but non-zero exit status @@ -114,8 +114,7 @@ main() { ## Append $line to $gpg_text_buffer gpg_text_buffer="$(printf "%s\n%s" "$gpg_text_buffer" "$line")"; - #done < <(echo "$gpg_text"); - done < <(printf "%s" "$gpg_text"); + done < <(echo "$gpg_text"); echo "$gpg_text_buffer"; done; }; # main program