Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 11:22:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235293] GCC MIPS cross-compiler build fails due to BSD sed
Message-ID:  <bug-235293-227-vAkzUs1KQM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235293-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235293-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=3D235293

Bob Bishop <rb@gid.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb@gid.co.uk

--- Comment #1 from Bob Bishop <rb@gid.co.uk> ---
BSD sed behaves as documented. Per re_format(7): "Obsolete (``basic'') regu=
lar
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

--=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-235293-227-vAkzUs1KQM>