summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
authorRon Yorston2021-03-28 17:15:30 +0100
committerDenys Vlasenko2021-03-29 12:16:21 +0200
commit15f4ac3ca99bca8811a334f9c7603969ab7ad362 (patch)
tree36d2dc12f4174725a709a491f47d6c3b07a58891 /util-linux/swaponoff.c
parent50a2db7dff696c0196fcc9a27db6154983bae149 (diff)
downloadbusybox-15f4ac3ca99bca8811a334f9c7603969ab7ad362.zip
busybox-15f4ac3ca99bca8811a334f9c7603969ab7ad362.tar.gz
vi: improvements to character search within line
- Use a common routine to handle all commands to search for a character in a line. - When searching for the nth occurrence of a character don't move the cursor if fewer than n occurrences are present. - Add support for the 'T' command, search backwards for character after next occurrence of given character. function old new delta do_cmd 4861 4805 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-56) Total: -56 bytes v2: Add parentheses to avoid searches continuing past end of line. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/swaponoff.c')
0 files changed, 0 insertions, 0 deletions