On Tue, Dec 17, 2019, at 18:55, Kjetil Torgrim Homme wrote:
> - while read -r gpg_id; do
> + while read -r gpg_id additional_columns; do
> + case $additional_columns in
> + ""|"# "*) : ;; # only keep first column, strip comment
> + *) gpg_id="${gpg_id} ${additional_columns}" ;;
> + esac
It may be simpler to do gpg_id="${gpg_id%%#*}" instead.
_______________________________________________ Password-Store mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/password-store
