(1) printf ... Got it, thanks. Fixed in new upload.
(2) env ... Ah, I see. Also, fixed in new upload.
(3) Got it, good catch.
One more thing I found/fixed... The grep for existing keys wasn't working properly. So I fixed it with a unique sort on the file (to make the script idempotent on the same id or multiple identical keys).
Jamie,
Thanks again.
(1) printf ... Got it, thanks. Fixed in new upload.
(2) env ... Ah, I see. Also, fixed in new upload.
(3) Got it, good catch.
One more thing I found/fixed... The grep for existing keys wasn't working properly. So I fixed it with a unique sort on the file (to make the script idempotent on the same id or multiple identical keys).