summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorSören Tempel2021-07-17 21:45:40 +0200
committerDenys Vlasenko2021-10-12 17:32:03 +0200
commitc33bbcb92fc255e4bb058e64874289cdeb0701f9 (patch)
tree29c40735df84c05f7a806d2fa1dd0d33768bde43 /console-tools
parent94c78aa0b91f2150bd038866addf3d0ee69474a8 (diff)
downloadbusybox-c33bbcb92fc255e4bb058e64874289cdeb0701f9.zip
busybox-c33bbcb92fc255e4bb058e64874289cdeb0701f9.tar.gz
ed: align output of read/write commands with POSIX-1.2008
POSIX.1-2008 mandates the following regarding the write command: If the command is successful, the number of bytes written shall be written to standard output, unless the -s option was specified, in the following format: "%d\n", <number of bytes written> function old new delta readLines 447 409 -38 doCommands 1940 1889 -51 .rodata 104219 104163 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-145) Total: -145 bytes Signed-off-by: Sören Tempel <soeren+git@soeren-tempel.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools')
0 files changed, 0 insertions, 0 deletions