[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    for the dd test suite
From:       Dirk Clemens <develop () cle-mens ! de>
Date:       2007-04-20 17:30:42
Message-ID: 4628F8C2.9000804 () cle-mens ! de
[Download RAW message or body]

To avoid this dd problem in the future I have written a small
script for the test suite

Dirk

["dd-skip-and-seek" (text/plain)]

#!/bin/sh

cat << ---EOT--- >foo
123456789+12345
abcdefghijklmno
ABCDEFGHIJKLMNO
---EOT---

cp foo bar

dd if=foo of=bar ibs=4 skip=1 obs=8 seek=2 conv=notrunc count=2 2>/dev/null

cat << ---EOT--- >foo
123456789+12345
56789+12ijklmno
ABCDEFGHIJKLMNO
---EOT---

diff foo bar


_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic