fix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Wed, 9 Mar 2022 16:45:52 +0000 (16:45 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Wed, 9 Mar 2022 16:45:52 +0000 (16:45 +0000)
- Note: output was omitting uid line

user/gpgfp-noemail [moved from user/bk-gpgfp-noemail with 98% similarity]

similarity index 98%
rename from user/bk-gpgfp-noemail
rename to user/gpgfp-noemail
index a0f4c3aaf1049cc73220d13acedbef6f34d22a7b..6a2bd0421089d232a361c0b4940e72325e594755 100755 (executable)
@@ -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