Debian Bug report logs - #1037275
dd: regression - posix expression syntax no longer supported

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: Marc Lehmann <[email protected]>

Date: Sat, 10 Jun 2023 01:48:02 UTC

Severity: normal

Found in version coreutils/9.1-1

Full log


Message #20 received at [email protected] (full text, mbox, reply):

Received: (at 1037275) by bugs.debian.org; 11 Jun 2023 22:13:28 +0000
From [email protected] Sun Jun 11 22:13:28 2023
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.6 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,
	HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS,MURPHY_DRUGS_REL8,
	RCVD_IN_DNSWL_NONE,SHIP_ID_INT,SPF_HELO_NONE,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 136; neutral, 23; spammy,
	0. spammytokens: hammytokens:0.000-+--H*r:TLS1_3,
	0.000-+--Hx-spam-relays-external:sk:smtp.go, 0.000-+--HCc:D*gnu.org,
	0.000-+--posix, 0.000-+--H*RU:sk:smtp.go
Return-path: <[email protected]>
Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:56591)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1q8TJP-00FX0K-K4
	for [email protected]; Sun, 11 Jun 2023 22:13:27 +0000
Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f7a8089709so38611135e9.1
        for <[email protected]>; Sun, 11 Jun 2023 15:13:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20221208; t=1686521603; x=1689113603;
        h=content-transfer-encoding:in-reply-to:from:references:cc:to
         :content-language:subject:user-agent:mime-version:date:message-id
         :sender:from:to:cc:subject:date:message-id:reply-to;
        bh=3KYLG5zdRj1R01njjwHMFeMWn/Npu/g4KRa26ITEZfI=;
        b=bJFCRGObB3usDIPgrSnezGnJidPbJCvT8aTg5c4XskUAplfprCYNoOTfA8WT608KUY
         b5EAJyxjjPjYI7x48JKccqjwr30+RIUHH3vIjMWz96LpXhK2cFwGrfMuCO4PLrFbNeZC
         WfWDVsncWeuvwdvlRXAdREbrM/4IEWqIBPlzoUg02CCGt8C79ynTH5sZeq47kPr1XZLi
         uq74gIdmRTencb8L73xWWyM4sCMtUqoau7pv5om0DWgs0TpKolzmKIuhgaCfCzkpNGTq
         jauo/t+ff6Cnv1mw2MP9CQRa+umqYsAoMOub/klT4w994MYTey0+oeu9hKatgfjCWj/j
         k6Pg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20221208; t=1686521603; x=1689113603;
        h=content-transfer-encoding:in-reply-to:from:references:cc:to
         :content-language:subject:user-agent:mime-version:date:message-id
         :sender:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=3KYLG5zdRj1R01njjwHMFeMWn/Npu/g4KRa26ITEZfI=;
        b=NtnHWntBG0+ZfYXVTcJ4Ih4rp72rQqi3bPp/bzy7WPXIYBWJFtAVs6ddiZSDoYYjKB
         eo+uNBBagdMFBzyOdksI/QjSGtO+AUyz/rUBGYPJxliHJ4e6KZ8cTAb3aVTKD166k2l3
         NEyLHCT75joiYiOwN8jVgmVhelfcYb3nVQ7eJ1ykk5CK42+BBGSmnby+nsnQz7IIdYuu
         +5VMMw8sNVAM9ZCmtSmwx4YLvn+RXswjW3YqvLb7KI1u6IK+bWRumWkAv5h8EE6rkY4o
         bqThOYKJVyLqie4G+kcBw7DIUmpBNItjYYp6RRp9W7IDKRlxU2bJO7QlwqPSbgZicXJW
         npdw==
X-Gm-Message-State: AC+VfDzxoJcGuNoPAhrrsLWJWfMA3oaBMDwfQTZSxUif92aneBggYplq
	zJH4dM1dP7s4xLtm/kF9IY4yw/RsE4Q=
X-Google-Smtp-Source: ACHHUZ43SYLoVOAchT24gigHSam714WPpsz+EoMpbToLQX7/Gc6gdD7Bcc8fqOUPLphcPfnTLYHRLg==
X-Received: by 2002:a05:600c:211:b0:3f6:906:1195 with SMTP id 17-20020a05600c021100b003f609061195mr5934535wmi.35.1686521603129;
        Sun, 11 Jun 2023 15:13:23 -0700 (PDT)
Received: from [192.168.1.19] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175])
        by smtp.googlemail.com with ESMTPSA id p17-20020a1c7411000000b003f61177faffsm9524706wmc.0.2023.06.11.15.13.22
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sun, 11 Jun 2023 15:13:22 -0700 (PDT)
Sender: Pádraig Brady <[email protected]>
Message-ID: <[email protected]>
Date: Sun, 11 Jun 2023 23:13:22 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Bug#1037275: dd: regression - posix expression syntax no longer
 supported
Content-Language: en-US
To: Jim Meyering <[email protected]>
Cc: Marc Lehmann <[email protected]>, [email protected],
 Coreutils <[email protected]>
References: <[email protected]>
 <[email protected]>
 <CA+8g5KG1w5MDiuOh_VkRXt10TQ8NG0wOgRQxro+3oG+4kpeU8Q@mail.gmail.com>
From: Pádraig Brady <[email protected]>
In-Reply-To: <CA+8g5KG1w5MDiuOh_VkRXt10TQ8NG0wOgRQxro+3oG+4kpeU8Q@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 11/06/2023 18:29, Jim Meyering wrote:
> Thanks. The patch looks fine.
> My only suggestion would be a stylistic one, to change the ">"
> comparison to be the equivalent "<" one, i.e., change this:
> 
> +      && *suffix == 'B' && (suffix > str && suffix[-1] != 'B'))
> 
> to this (also dropping the unnecessary parentheses):
> 
> +      && *suffix == 'B' && str < suffix && suffix[-1] != 'B')
> 
> Why? Because of the increasing-to-right number-line argument, where
> smaller things are visually on the left of larger ones.
> 
> Currently, in src/, the uses of space-delimited < and <= outnumber
> uses of > and >= by four to one, 1678 to 428.

Pushed with that adjustment.

thanks
Pádraig



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:46:17 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.