delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 01FB2385842D |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1675796523; | |
bh=9vvNPtoFLOhukh+NXDDOhJnB7dw/mCDtcmA9Uqf1pm8=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=MfJFS+dPIy6NGZ8BHmJ7CILKNB8kkCdDfw1FFmdCGPGrfBXpdA31QhrZjM4ZCSTzK | |
Z09G08c7zSQVUA5nzFkveSvTIbgMrgj6c+5vk+b0Js7yZmybz5zLQyrJlQzv8ZLcQG | |
VDaDWsX+dpa0w4nYxAfp5/rzueFzRIb95Ylp5x0A= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 143483858D33 |
X-Authority-Analysis: | v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=63e29fff |
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 | |
a=r77TgQKjGQsHNAKrUKIA:9 a=f6gXev2GEoVjqWF7oYwA:9 a=QEXdDO2ut3YA:10 | |
a=ICWkgZSdWe_YlBB88T4A:9 a=ITdVHhY7-e0A:10 a=RIdMWvM8z9WmbC61yKYA:9 | |
a=FZ9wS0a9E1mmaF1ckGwA:9 a=E-yladNfQNEA:10 | |
Message-ID: | <7890e200-4a40-5e1e-3a62-21f30d92d5c5@Shaw.ca> |
Date: | Tue, 7 Feb 2023 12:01:18 -0700 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 |
Thunderbird/102.6.1 | |
Subject: | Re: Parameter expansion stopped working in recent ash/dash |
To: | cygwin AT cygwin DOT com |
References: | <1552195602 DOT 20230207150759 AT yandex DOT ru> |
<230ea647-5228-46e1-f6cb-954db39d20c2 AT Shaw DOT ca> | |
Organization: | Inglis |
In-Reply-To: | <230ea647-5228-46e1-f6cb-954db39d20c2@Shaw.ca> |
X-CMAE-Envelope: | MS4xfDIssZva3f50wZeWAD8uDU5/7srv2bARsV6GdyPyxAgZriBlAHvhHCtJMGBOsXl+DLgyeXp1R37P9LmVnBY2vuvzgpV0eudi1BGqCon/NYG2UOjce84i |
GgvLh7ZXvQsp3I5RejX+KCbndA4gvgWWuT5fA6DGOC6zhl8t5RvRZvC0K4B4bo7XRO/k38wiCMzlDGl3KzNUCBgGNke/zrC3sJM= | |
X-Spam-Status: | No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, | |
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, | |
TXREP autolearn=ham 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-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
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: | Brian Inglis via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>, Andrey Repin <anrdaemon AT yandex DOT ru> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
This is a multi-part message in MIME format. --------------K4SUPIYfduaoCbFbCjLaxV8v Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2023-02-07 10:19, Brian Inglis via Cygwin wrote: > On 2023-02-07 05:07, Andrey Repin via Cygwin wrote: >> 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? > > Good catch Andrey, > > Looks like something in dash broke space trimming of any sort: see attached > script and logs. > > I will see what upstream has to say for themselves, or about Cygwin. Sorry Andrey, Stupid errors in test script, didn't actually run trim3 anyway, redone, and that and updated logs attached. It appears the locale dependent [[:space:]] regexp no longer works but using escapes generated by echo still does, see corrected trim3, so perhaps use those for now, if you can, while I follow this upstream. You may need to add escape sequences for any locale dependent spacing characters to the space string, so please let us know if there are. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry --------------K4SUPIYfduaoCbFbCjLaxV8v Content-Type: text/plain; charset=UTF-8; name="test11.log" Content-Disposition: attachment; filename="test11.log" Content-Transfer-Encoding: base64 IyEvYmluL2Rhc2ggLXZ4Cgp0cmltKCkgewogICMgcmVtb3ZlIGxlYWRpbmcgd2hpdGVzcGFj ZSBjaGFyYWN0ZXJzCiAgX190cmltPSIkeyojJHsqJSVbIVs6c3BhY2U6XV0qfX0iCiAgIyBy ZW1vd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nRmICVzIGJldGEKMDAwMDAwMCAgNjIg IDY1ICA3NCAgNjEKICAgICAgICAgIGIgICBlICAgdCAgIGEKMDAwMDAwNAp0cmltMyAiDWdh bW1hCSIgfCBvZCAtdCB4MWEKKyB0cmltMyANZ2FtbWEJCisgKyBvZCAtdCB4MWEKZWNobyAt biBbXGJcdFxuXHZcZlxyIF0KKyBfc3BhY2U9WwgJCgsMDSBdCisgX190cmltPWdhbW1hCQor IHByaW50ZiAlcyBnYW1tYQowMDAwMDAwICA2NyAgNjEgIDZkICA2ZCAgNjEKICAgICAgICAg IGcgICBhICAgbSAgIG0gICBhCjAwMDAwMDUKCg== --------------K4SUPIYfduaoCbFbCjLaxV8v Content-Type: text/plain; charset=UTF-8; name="test12.log" Content-Disposition: attachment; filename="test12.log" Content-Transfer-Encoding: base64 IyEvYmluL2Rhc2ggLXZ4Cgp0cmltKCkgewogICMgcmVtb3ZlIGxlYWRpbmcgd2hpdGVzcGFj ZSBjaGFyYWN0ZXJzCiAgX190cmltPSIkeyojJHsqJSVbIVs6c3BhY2U6XV0qfX0iCiAgIyBy ZW1vdmUgdHJhaWxpbmcgd2hpdGVzcGFjZSBjaGFyYWN0ZXJzCiAgcHJpbnRmICIlcyIgIiR7 X190cmltJSR7X190cmltIyMqWyFbOnNwYWNlOl1dfX0iCn0KCnRyaW0gIiBhbHBoYSIgfCBv ZCAtdCB4MWEKKyB0cmltICBhbHBoYQorIF9fdHJpbT0KKyBwcmludGYgJXMgCisgb2QgLXQg eDFhCjAwMDAwMDAKdHJpbSAiYmV0YSAiIHwgb2QgLXQgeDFhCisgdHJpbSBiZXRhIAorIF9f dHJpbT0KKyBwcmludGYgJXMgCisgb2QgLXQgeDFhCjAwMDAwMDAKdHJpbSAiDWdhbW1hCSIg fCBvZCAtdCB4MWEKKyB0cmltIA1nYW1tYQkKKyBfX3RyaW09CisgcHJpbnRmICVzIAorIG9k IC10IHgxYQowMDAwMDAwCgp0cmltMigpIHsKICAjIHJlbW92ZSBsZW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Jp bTMgIiBhbHBoYSIgfCBvZCAtdCB4MWEKKyB0cmltMyAgYWxwaGEKKyBvZCAtdCB4MWEKKyBl Y2hvIC1uIFtcYlx0XG5cdlxmXHIgXQorIF9zcGFjZT1bCAkKCwwNIF0KKyBfX3RyaW09YWxw aGEKKyBwcmludGYgJXMgYWxwaGEKMDAwMDAwMCAgNjEgIDZjICA3MCAgNjggIDYxCiAgICAg ICAgICBhICAgbCAgIHAgICBoICAgYQowMDAwMDA1CnRyaW0zICJiZXRhICIgfCBvZCAtdCB4 MWEKKyB0cmltMyBiZXRhIAorIG9kIC10IHgxYQorIGVjaG8gLW4gW1xiXHRcblx2XGZcciBd CisgX3NwYWNlPVsICQoLDA0gXQorIF9fdHJpbT1iZXRhIAorIHByaW50ZiAlcyBiZXRhCjAw MDAwMDAgIDYyICA2NSAgNzQgIDYxCiAgICAgICAgICBiICAgZSAgIHQgICBhCjAwMDAwMDQK dHJpbTMgIg1nYW1tYQkiIHwgb2QgLXQgeDFhCisgdHJpbTMgDWdhbW1hCQorIG9kIC10IHgx YQorIGVjaG8gLW4gW1xiXHRcblx2XGZcciBdCisgX3NwYWNlPVsICQoLDA0gXQorIF9fdHJp bT1nYW1tYQkKKyBwcmludGYgJXMgZ2FtbWEKMDAwMDAwMCAgNjcgIDYxICA2ZCAgNmQgIDYx CiAgICAgICAgICBnICAgYSAgIG0gICBtICAgYQowMDAwMDA1Cgo= --------------K4SUPIYfduaoCbFbCjLaxV8v Content-Type: text/plain; charset=UTF-8; name="par-ext-t.sh" Content-Disposition: attachment; filename="par-ext-t.sh" Content-Transfer-Encoding: base64 IyEvYmluL2Rhc2ggLXZ4Cgp0cmltKCkgewogICMgcmVtb3ZlIGxlYWRpbmcgd2hpdGVzcGFj ZSBjaGFyYWN0ZXJzCiAgX190cmltPSIkeyojJHsqJSVbIVs6c3BhY2U6XV0qfX0iCiAgIyBy ZW1vdmUgdHJhaWxpbmcgd2hpdGVzcGFjZSBjaGFyYWN0ZXJzCiAgcHJpbnRmICIlcyIgIiR7 X190cmltJSR7X190cmltIyMqWyFbOnNwYWNlOl1dfX0iCn0KCnRyaW0gIiBhbHBoYSIgfCBv ZCAtdCB4MWEKdHJpbSAiYmV0YSAiIHwgb2QgLXQgeDFhCnRyaW0gIg1nYW1tYQkiIHwgb2Qg LXQgeDFhCgp0cmltMigpIHsKICAjIHJlbW92ZSBsZWFkaW5nIHdoaXRlc3BhY2UgY2hhcmFj dGVycwogIF9fdHJpbT0iJHsqIyNbWzpzcGFjZTpdXX0iCiAgIyByZW1vdmUgdHJhaWxpbmcg d2hpdGVzcGFjZSBjaGFyYWN0ZXJzCiAgcHJpbnRmICIlcyIgIiR7X190cmltJSVbWzpzcGFj ZTpdXX0iCn0KCnRyaW0yICIgYWxwaGEiIHwgb2QgLXQgeDFhCnRyaW0yICJiZXRhICIgfCBv ZCAtdCB4MWEKdHJpbTIgIg1nYW1tYQkiIHwgb2QgLXQgeDFhCgp0cmltMygpIHsKICBfc3Bh Y2U9IiQoZWNobyAtbiAnW1xiXHRcblx2XGZcciBdJykiCiAgIyByZW1vdmUgbGVhZGluZyB3 aGl0ZXNwYWNlIGNoYXJhY3RlcnMKICBfX3RyaW09IiR7KiMjJF9zcGFjZX0iCiAgIyByZW1v dmUgdHJhaWxpbmcgd2hpdGVzcGFjZSBjaGFyYWN0ZXJzCiAgcHJpbnRmICIlcyIgIiR7X190 cmltJSUkX3NwYWNlfSIKfQoKdHJpbTMgIiBhbHBoYSIgfCBvZCAtdCB4MWEKdHJpbTMgImJl dGEgIiB8IG9kIC10IHgxYQp0cmltMyAiDWdhbW1hCSIgfCBvZCAtdCB4MWEKCg== --------------K4SUPIYfduaoCbFbCjLaxV8v 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 --------------K4SUPIYfduaoCbFbCjLaxV8v--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |