[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: FEATURE_VI_REGEX_SEARCH bug
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2018-11-29 13:41:08
Message-ID: CAK1hOcPtkbN4M21an0Se7_9jtwhtr+uJY+N+bYWD3b8HFfQsQg () mail ! gmail ! com
[Download RAW message or body]
Fixed in git, thanks!
On Sun, Nov 25, 2018 at 8:35 PM Andrey Dobrovolsky
<andrey.dobrovolsky.odessa@gmail.com> wrote:
>
> If busybox is compiled with FEATURE_VI_REGEX_SEARCH enabled, command
> ":s/x/y/" searches not only in the current line, but continues search
> after it. This makes range searches (":1,3s/x/y/") work incorrect. For
> example file "./test" :
> 1
> 2
> 3
> $vi ./test
> :1,2s/3/e/
> gives us :
> 1
> 2
> e
> This error affects versions at least since 1.23, simple patches for
> 1.27.2 and 1.29.3 attached, I can check other versions, if necessary.
> Patches must be applied to "editors/vi.c"
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic