From 439307badfa2713a552d22a0ca6fa32e63e10a44 Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Wed, 9 Mar 2022 16:45:52 +0000 Subject: [PATCH 1/1] fix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail - Note: output was omitting uid line --- user/{bk-gpgfp-noemail => gpgfp-noemail} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename user/{bk-gpgfp-noemail => gpgfp-noemail} (98%) 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 -- 2.30.2