Ah, the problem probably is that unpack (since you havn't unpacked
it) doesn't try to use the tomsrtbt shell and dd the way buildit.s
does. There are issues with shell+dd being used to count. I'll
have to look at finding another way, certainly setting bs=1 and
making all counts x1 would work, but, is ugly. What version of
shell are you running? The detail of the problem is that the
shell can pass partial blocks in a pipe, which dd counts as
blocks, so you can't with certainty say:
echo 1234567890 | dd bs=3 count=2
and get 123456. The shell might send a partially full buffer of '12',
which will be taken as a block to count, and you end up with 12345...
-Tom