Hello
here is a small test I did
bash$ > foo
bash$ dd if=foo skip=10
dd: `foo': cannot skip to specified offset
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000167556 s, 0.0 kB/s
bash$ echo $?
0
bash$ dd if=bar skip=10
dd: opening `bar': No such file or directory
bash$ echo $?
1
The test with bar is only to check that exit code can be set.
Is it the expected behaviour to have a success exit code when skip fails, even
with the notice message "cannot skip..."?
I would rather expect dd to exit with an error code for the failed skip.
--
ffx