<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">On Tue, Dec 17, 2019, at 18:55, Kjetil Torgrim Homme wrote:<br></div><blockquote type="cite" id="qt"><div>- while read -r gpg_id; do<br></div><div>+ while read -r gpg_id additional_columns; do<br></div><div>+ case $additional_columns in<br></div><div>+ ""|"# "*) : ;; # only keep first column, strip comment<br></div><div>+ *) gpg_id="${gpg_id} ${additional_columns}" ;;<br></div><div>+ esac<br></div></blockquote><div style="font-family:Arial;">It may be simpler to do gpg_id="${gpg_id%%#*}" instead.<br></div><div style="font-family:Arial;"><br></div></body></html>