diff options
author | Sören Tempel | 2021-12-29 16:15:50 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-12-29 19:01:32 +0100 |
commit | 9173c9cce48dc4c867fb06bb72e8c762740c5c86 (patch) | |
tree | 38cf150e3a3aca58b514556aa10a02b4c71aea12 /libbb/getopt32.c | |
parent | 0e2cb6d1e2553675bba2999829bbc29219aea987 (diff) | |
download | busybox-9173c9cce48dc4c867fb06bb72e8c762740c5c86.zip busybox-9173c9cce48dc4c867fb06bb72e8c762740c5c86.tar.gz |
ed: add support for -s command-line option as mandated by POSIX
Apart from the -p option, POSIX also mandates an -s option which
suppresses the output of byte counts for the e, E, r, and w command.
From these commands, Busybox ed presently only implements the r and w
commands. This commit ensures that these two command do not output any
bytes counts when the -s option is passed. The shell escape command,
also effected by the -s option, is not implemented by Busybox at the
moment.
function old new delta
packed_usage 34096 34115 +19
doCommands 1887 1900 +13
readLines 388 397 +9
.rodata 104196 104200 +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 45/0) Total: 45 bytes
Signed-off-by: Sören Tempel <soeren+git@soeren-tempel.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/getopt32.c')
0 files changed, 0 insertions, 0 deletions