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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to