From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by sourceware.org (Postfix) with ESMTPS id 0DB3D385840D for ; Tue, 7 Feb 2023 12:20:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0DB3D385840D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from forward100q.mail.yandex.net (forward100q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb97]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 5C4702FD81B2 for ; Tue, 7 Feb 2023 15:20:02 +0300 (MSK) Received: from vla3-3dd1bd6927b2.qloud-c.yandex.net (vla3-3dd1bd6927b2.qloud-c.yandex.net [IPv6:2a02:6b8:c15:350f:0:640:3dd1:bd69]) by forward100q.mail.yandex.net (Yandex) with ESMTP id 5A3196F40007 for ; Tue, 7 Feb 2023 15:20:02 +0300 (MSK) Received: by vla3-3dd1bd6927b2.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 1KbSknAYLOs1-DlkJzpYP; Tue, 07 Feb 2023 15:20:02 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1675772402; bh=J/paxuZtTCg1pckXq9nUu/gWJpAiqjX2hySfsSjiBh0=; h=Subject:To:Message-ID:Reply-To:Date:From; b=oWpaPfYampfhgkCAxUXOXRHOGrPzlTdCP4mzb/msrUGdx9nKzhoZwfqoHWXU+T5rn z/fetZjXNoCFhRNqFKy5nJvVgs8XKk5Hlo0ExXUve6y2++533EsDTrfODjNfusWjw/ 5fvTvATuqeZ+CfgHlqufl8G9bqR63Mlak0pqm6pM= Authentication-Results: vla3-3dd1bd6927b2.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 07 Feb 2023 12:08:00 -0000 Date: Tue, 7 Feb 2023 15:07:59 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1552195602.20230207150759@yandex.ru> To: All Subject: Parameter expansion stopped working in recent ash/dash MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------0D61661C51F9DA4C2" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: ------------0D61661C51F9DA4C2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greetings, All! In the attached script, that I always run using dash, the expansion is supposed to strip leading/trailing spaces from provided parameter. The upgrade that took place after which the expansion stopped working is libsolv: - dash-0.5.11.5-1.any -> dash-0.5.12-1.any Downgrading to 0.5.11.5 restored the expected behavior. I failed to find anything relevant in the dash 0.5.12 patch notes, but perhaps community could help? -- With best regards, Andrey Repin Tuesday, February 7, 2023 14:49:46 Sorry for my terrible english... ------------0D61661C51F9DA4C2 Content-Type: application/octet-stream; name="par-ext.sh" Content-transfer-encoding: base64 Content-Disposition: attachment; filename="par-ext.sh" IyEvYmluL2Rhc2ggLXgKCnRyaW0oKSB7CiAgIyByZW1vdmUgbGVhZGluZyB3aGl0ZXNwYWNl IGNoYXJhY3RlcnMKICBfX3RyaW09IiR7KiMkeyolJVshWzpzcGFjZTpdXSp9fSIKICAjIHJl bW92ZSB0cmFpbGluZyB3aGl0ZXNwYWNlIGNoYXJhY3RlcnMKICBwcmludGYgIiVzIiAiJHtf X3RyaW0lJHtfX3RyaW0jIypbIVs6c3BhY2U6XV19fSIKfQoKdHJpbSAiIGFscGhhIiB8IG9k IC10IHgxYQp0cmltICJiZXRhICIgfCBvZCAtdCB4MWEKdHJpbSAiDWdhbW1hCSIgfCBvZCAt dCB4MWEK ------------0D61661C51F9DA4C2--