delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/07/07:21:28

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E75EB3858410
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1675772445;
bh=0E8F3DAqYLeFKUbPkCMit0x994hexccwqhlTvOudinU=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=EpHoMimrZVGbdVpPeJ/lP0eGJJhkg1z29Di/J2mWas3SULC3EMbA3WyHNOPPSVpJb
7IV1R6CUaHieDQuh/WI8mo5WAGN++BqJ+iq4n5yrLdoYVBnaSV/xfFTC6ScpADRyHE
0BbxpKG7vQbVAHnN5H7pOZvqJmkrgNNaqESZSXZ0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0DB3D385840D
X-Yandex-Fwd: 1
Date: Tue, 7 Feb 2023 15:07:59 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1552195602.20230207150759@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: Parameter expansion stopped working in recent ash/dash
MIME-Version: 1.0
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

------------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
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

------------0D61661C51F9DA4C2--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019