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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 Jan 2023 05:00:50 UTC

--- 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/' 
% 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.

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