bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7362: dd strangeness


From: Pádraig Brady
Subject: bug#7362: dd strangeness
Date: Fri, 04 Mar 2011 10:09:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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

[Prev in Thread] Current Thread [Next in Thread]