Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2016 20:46:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195929] usr.bin/sed -- constify, remove line-length limits
Message-ID:  <bug-195929-8-mYRWS8pIPt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195929-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195929-8@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=3D195929

Mikhail Teterin <mi@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #172442|0                           |1
        is obsolete|                            |

--- Comment #30 from Mikhail Teterin <mi@FreeBSD.org> ---
Created attachment 172615
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172615&action=
=3Dedit
Updated patch

Ok, yes, there was a bug in the parsing lines like s/FOO/BAR/4. I fixed it =
and
the multi_test now passes fully here. The legacy_test chokes on the missing
regress.m4 -- maybe, I need to rebuild world again having set WITH_TESTS to=
 yes
(this ought to be simpler).

But legacy_test was working for you before -- hopefully, it still does.

Interestingly, one of gsed's tests started to fail now. But it fails the sa=
me
way with our unmodified sed. The recently-introduced bug must be in the
process.c somewhere:

% echo z | gsed -n -e 's/^a*/b/2p'
# empty -- correct
% echo z |  sed -n -e 's/^a*/b/2p'
z # incorrect

--=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-195929-8-mYRWS8pIPt>