Date: Sat, 27 Feb 2021 14:41:25 +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@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253893 Bug ID: 253893 Summary: sed "/^\s*$/d" complains about trailing backslash (\) Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: freebsd@schukraft.org After an upgrade from 12.2 to 13.0-BETA3, python's virtualenvwrapper stopped working with a sed error. Source seems to be a pipeline akin to this: > echo test/bin/activate | tr "\n" " " | sed "s|/bin/activate |/|g" | tr "= /" "\n" | sed "s/^\s*$/d" sed: 1: "/^\s*$/d": RE error: trailing backslash (\) If I mount the 12.2 boot environment and replace the sed calls in the above with /tmp/be<RANDOM>/usr/bin/sed, it works, as it has on 12.2: > echo test/bin/activate | tr "\n" " " | /tmp/be_mount.6Hlw/usr/bin/sed "s= |/bin/activate |/|g" | tr "/" "\n" | /tmp/be_mount.6Hlw/usr/bin/sed "/^\s*$= /d" test --=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>