[Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Jan 2023 21:57:39 UTC

Quanah Gibson-Mount <quanah.gibsonmount@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |quanah.gibsonmount@gmail.co
                   |                            |m

--- Comment #19 from Quanah Gibson-Mount <quanah.gibsonmount@gmail.com> ---
This also broke the OpenLDAP test suite when running on FreeBSD 13:

Testing account lockout...
sed: 1: "s/.*seconds_before_unlo ...": RE error: trailing backslash (\)
ldapsearch failed (49)!

Affected line is:

DELAY=`echo "$DELAYATTR" | sed -n -e 's/.*seconds_before_unlock=\(\d*\)/\1/p'`

You are receiving this mail because:
You are the assignee for the bug.