Restrict sed expression to basic RE

David Dahlberg dyn+zx2c4 at dahlberg.cologne
Thu Jul 22 13:39:53 UTC 2021


Hi Jason/all,

'+' is part of POSIX extended regular expressions, not basic RE.

Attached patch replaces '+' by '{1,}' from basic RE and makes t0300-
reencryption.sh happy on OpenBSD. The other way would be to switch to
"sed -E" (but that would require other changes to the RE).

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src_password-store.sh
Type: application/x-shellscript
Size: 1026 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20210722/aadd4fda/attachment.bin>


More information about the Password-Store mailing list