On 04/03/11 07:44, Paul Eggert wrote:
> +      /* If bs=SIZE is given and iflag=fullblock is not, warn if a

Do you check that bs= is specified?
Do you want to as it's independent of the counting issue?

Anyway, with this patch the following slightly contrived example will warn:

# Output first 2 parts
$ (echo part1; sleep 1; echo part2; sleep 1; echo discard) |
  dd count=2 obs=1 2>/dev/null
part1
part2

So I'm a bit wary about adding this at all.

cheers,
Pádraig.



Reply via email to