aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2025-11-10 12:48:38 +0000
committerRon Yorston <rmy@pobox.com>2025-11-10 12:52:02 +0000
commitaf09683cfc5ffe05f3e42bb592fe15a753540d85 (patch)
tree829a0801dd0d0603240dfcfe48e233f8600a06bf /scripts/basic/docproc.c
parentf53dbcb8edbcfdad1721d0f5c9e8a16d54e983dc (diff)
downloadbusybox-w32-af09683cfc5ffe05f3e42bb592fe15a753540d85.tar.gz
busybox-w32-af09683cfc5ffe05f3e42bb592fe15a753540d85.tar.bz2
busybox-w32-af09683cfc5ffe05f3e42bb592fe15a753540d85.zip
paste: fix output when file lengths differ
If the files being pasted had different numbers of lines the output was incorrect. Rewrite the loop over all lines to allow for this. Add tests for such conditions. Adds 64-80 bytes. (GitHub issue #542)
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions