coreutils
[Top][All Lists]
Advanced

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

Re: Bug#1037275: dd: regression - posix expression syntax no longer supp


From: Pádraig Brady
Subject: Re: Bug#1037275: dd: regression - posix expression syntax no longer supported
Date: Sat, 10 Jun 2023 14:49:29 +0100
User-agent: Mozilla Thunderbird

On 10/06/2023 02:45, Marc Lehmann wrote:
Package: coreutils
Version: 9.1-1
Severity: normal

Dear Maintainer,

I have a script that was used for some decades on multiple
unices. Beginning with bookworm, it stopped working because dd no longer
understands POSIX expression syntax for bs=:

    $ dd if=... bs=1024x1024x32
    dd: invalid number: ‘1024x1024x32’

This should be valid syntax according to POSIX, and was understood on
older versions of Debian GNU/Linux:

    Two or more positive decimal numbers (with or without k or b) separated by 
x, specifying the product of the indicated values

Yes this was a regression in coreutils 9.1
The patch attached is the proposed upstream fix.

thanks,
Pádraig

Attachment: dd-many-multipliers.patch
Description: Text Data


reply via email to

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