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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Jun 2021 13:29:31 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893

--- Comment #11 from Ed Maste <emaste_at_freebsd.org> ---
GNU sed:

$ echo 'a b' | gsed 's/\s/-space-/g'
a-space-b

FreeBSD 11:

$ echo 'a b' | sed 's/\s/-space-/g' 
a b

FreeBSD 12:

$ echo 'a b' | sed 's/\s/-space-/g' 
a b

FreeBSD 13:

$ echo 'a b' | sed 's/\s/-space-/g'
sed: 1: "s/\s/-space-/g": RE error: trailing backslash (\)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jun 11 2021 - 13:29:31 UTC

Original text of this message