Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 12:29:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272487] vi/nvi: :t wrongly adjusts current-line in the context of a :g command
Message-ID:  <bug-272487-227-79HboyX4TZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272487-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272487-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=3D272487

--- Comment #1 from Tim Chase <freebsd@tim.thechases.com> ---
Poking around further at this, if I add a single space (0x20) after the "-",
changing

    :g/pattern/1t-

into

    :g/pattern/1t-{space}

it works as expected.  This seems to suggest some sort of parsing or off-by=
-one
issue?

--=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-272487-227-79HboyX4TZ>