[Bug 235293] GCC MIPS cross-compiler build fails due to BSD sed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 29 11:22:24 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235293
Bob Bishop <rb at gid.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rb at gid.co.uk
--- Comment #1 from Bob Bishop <rb at gid.co.uk> ---
BSD sed behaves as documented. Per re_format(7): "Obsolete (``basic'') regular
expressions differ in several respects. `|' is an ordinary character and
there is no equivalent for its functionality."
Rewrite the RE as follows to achieve the desired outcome:
echo "__adddsf3" | sed 's/\(.*\)\([sd]f\)/\1 \2/'
__addd sf3
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list