Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2023 05:00:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253893] sed "/^\s*$/d" complains about trailing backslash (\)
Message-ID:  <bug-253893-227-bUMzIQxHzf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253893-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253893-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253893

--- Comment #22 from Kyle Evans <kevans@freebsd.org> ---
(In reply to Kyle Evans from comment #21)

\d doesn't actually seem to be supported in GNU sed, either?

% echo "n9ne" | sed -e 's/\d/x/'=20
n9ne
% sed --version
sed (GNU sed) 4.8

It's just that they're not as strict as we now are about bogus escapes, so =
this
was a hidden bug.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253893-227-bUMzIQxHzf>