Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2015 09:50:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202740] vi/ex string substitution problem when there is multiple occurrences in a line
Message-ID:  <bug-202740-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202740

            Bug ID: 202740
           Summary: vi/ex string substitution problem when there is
                    multiple occurrences in a line
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: fnoyanisi@yahoo.com

Created attachment 160478
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160478&action=edit
ex string substutition bug demonstration

ex/vi implementations in 10.2-RELEASE, and 11.0-CURRENT have issues with string
substitution when the phrase that would be replaced with a new one appears in a
single line more than once.

This phenomena is visible when ex(1) is invoked with -s and -c options.
Attached text file includes step by step demonstration of the problem. The last
command in the attached file always fails.

Problem is most probably visible in older versions of FreeBSD as well, I have
only tested on these two systems.

-- 
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-202740-8>