diff options
author | Ron Yorston | 2021-06-25 19:33:31 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-06-27 13:36:49 +0200 |
commit | 5dbbd0a6f52befe6bc57baf97d39168e595197f1 (patch) | |
tree | b9a0c98dbcda77c15cfb327c8282643734566305 /shell/ash_test/ash-parsing/eol1.right | |
parent | 0231e344273aafd02097eb71851bc7a078da5400 (diff) | |
download | busybox-5dbbd0a6f52befe6bc57baf97d39168e595197f1.zip busybox-5dbbd0a6f52befe6bc57baf97d39168e595197f1.tar.gz |
vi: stored search pattern applies to ':s'
The same stored search pattern applies to both search ('/') and
search/replace (':s') operations.
A search/replace operation with an empty "find" string (':s//abc/')
should use the last stored search pattern, if available, and issue an
error message if there is none.
If the "find" string is not empty it should replace the stored search
pattern.
function old new delta
colon 3952 4024 +72
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 72/0) Total: 72 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-parsing/eol1.right')
0 files changed, 0 insertions, 0 deletions