summaryrefslogtreecommitdiff
path: root/procps/lsof.c
diff options
context:
space:
mode:
authorRon Yorston2021-04-06 13:39:48 +0100
committerDenys Vlasenko2021-04-11 00:18:55 +0200
commit7ce0e75c1f26d9cb3061c64aeab3204f62a5b55c (patch)
tree403b55810b02141f10a15da7fd063be53870b71e /procps/lsof.c
parent9f017d9db0eb5522eb9c140a2d839461c677eb8e (diff)
downloadbusybox-7ce0e75c1f26d9cb3061c64aeab3204f62a5b55c.zip
busybox-7ce0e75c1f26d9cb3061c64aeab3204f62a5b55c.tar.gz
vi: code shrink search commands
Changes to search commands ('/', '?', 'n' and 'N'): - Rewrite to be smaller and (possibly) clearer. - Issue a warning when a repeat search is requested without a previous search having been made. Vim and BusyBox vi support a repetition count for searches though the original vi doesn't. If the count exceeds the number of occurrences of the search string the search may loop through the file multiple times. function old new delta .rodata 105135 105119 -16 do_cmd 4898 4860 -38 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-54) Total: -54 bytes Signed-off-by; Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/lsof.c')
0 files changed, 0 insertions, 0 deletions