<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite/paste/paste-short-long, branch master</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2025-11-10T12:52:02+00:00</updated>
<entry>
<title>paste: fix output when file lengths differ</title>
<updated>2025-11-10T12:52:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-11-10T12:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=af09683cfc5ffe05f3e42bb592fe15a753540d85'/>
<id>urn:sha1:af09683cfc5ffe05f3e42bb592fe15a753540d85</id>
<content type='text'>
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)
</content>
</entry>
</feed>
