Comment 7 for bug 430220

Revision history for this message
Johan Kiviniemi (ion) wrote :

How about using cat instead of dd, btw? dd bs=1 looks like:

read(0, "h", 1) = 1
write(1, "h", 1) = 1
read(0, "e", 1) = 1
write(1, "e", 1) = 1
read(0, "l", 1) = 1
write(1, "l", 1) = 1
read(0, "l", 1) = 1
write(1, "l", 1) = 1
read(0, "o", 1) = 1
write(1, "o", 1) = 1
read(0, "\n", 1) = 1
write(1, "\n", 1) = 1
read(0, "w", 1) = 1
write(1, "w", 1) = 1
read(0, "o", 1) = 1
write(1, "o", 1) = 1
read(0, "r", 1) = 1
write(1, "r", 1) = 1
read(0, "l", 1) = 1
write(1, "l", 1) = 1
read(0, "d", 1) = 1
write(1, "d", 1) = 1
read(0, "\n", 1) = 1
write(1, "\n", 1) = 1

where cat looks like:

read(0, "hello\n", 32768) = 6
write(1, "hello\n", 6) = 6
read(0, "world\n", 32768) = 6
write(1, "world\n", 6) = 6