summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
79ed880)
- Note: output was omitting uid line
# Desc: Gets gpg fingerprint but replaces uid email addresses with hashes
# Usage: bk-gpgfp-noemail 0xdc3469c9 74810B012346C9A6
# Depends: gpg, b2sum
# Desc: Gets gpg fingerprint but replaces uid email addresses with hashes
# Usage: bk-gpgfp-noemail 0xdc3469c9 74810B012346C9A6
# Depends: gpg, b2sum
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
die() { yell "$*"; exit 111; } # same as yell() but non-zero exit status
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
die() { yell "$*"; exit 111; } # same as yell() but non-zero exit status
## Append $line to $gpg_text_buffer
gpg_text_buffer="$(printf "%s\n%s" "$gpg_text_buffer" "$line")";
## 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
echo "$gpg_text_buffer";
done;
}; # main program