On Wed, Apr 12, 2023 at 20:51:50 -0700, Michael Forney wrote:
> Thanks for reporting this bug! Apologies for the delay.

No worries.

> On 2022-11-29, phoebos <ben@bvnf.space> wrote:
> >     yes | dd ibs=1 count=1

Incidentally, ubase dd also has this bug:

    $ yes | dd ibs=1 count=1 >/dev/null
    57 records in
    57 records out
    65536 bytes (0 MB) copied, 1 s, 0.000000 MB/s

    $ yes | dd ibs=1 obs=1 count=1 >/dev/null
    57 records in
    57 records out
    65536 bytes (0 MB) copied, 1 s, 0.000000 MB/s

but it works correctly with bs:

    $ yes | dd bs=1 count=1 >/dev/null
    1 records in
    1 records out
    1 bytes (0 MB) copied, 1 s, 0.000000 MB/s

Reply via email to