delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/07/12:20:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FDFB385841D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1675790392;
bh=D9UDaiNvXZZcpm6+K6KIE8Afb+zWbg/GDMtnC3IFQK8=;
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=LatE+nJTr99fl+jaN4eC/4c3a477cDzpGS+9/STwQlsv5V/xxKn20mv8/6JbSA5rt
BfGn/TA0bYDy1Q/XD39s6KxUX7y/kpC0/oB8JpWFlXmNdiY0D75lzpg8YOaItgJIBf
FP1FKIkt/oYYWfmIcHz7FuaexU/TgBvOOE+5GT5E=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7866E3858D33
X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=63e28826
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=r77TgQKjGQsHNAKrUKIA:9 a=0CfRTwna0q1RhujCISwA:9 a=QEXdDO2ut3YA:10
a=FZ9wS0a9E1mmaF1ckGwA:9 a=E-yladNfQNEA:10 a=k9FbuLYCHuoTIFQglmcA:9
a=ITdVHhY7-e0A:10 a=RIdMWvM8z9WmbC61yKYA:9
Message-ID: <230ea647-5228-46e1-f6cb-954db39d20c2@Shaw.ca>
Date: Tue, 7 Feb 2023 10:19:33 -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>
Organization: Inglis
In-Reply-To: <1552195602.20230207150759@yandex.ru>
X-CMAE-Envelope: MS4xfEHTXf+uV/y/63zp3XWfOh7sHsAi6EJBqXrwZdvOUGhG7SXR7TRbeeX+KCqOupOsPMlblkzCVUO5oghEaZ5z5I3nSl+XGv2AQwQ8dMhacJQrIbZvDrnM
VqyRDitaT+5Tgoqo8OhYaoTTiHI23JPy1CehZyEDoqHgdZ19J+Iq3tCvEVedLwlbkNf2fcWhNq8YjoMGbuNji7eAilCineQSOEs=
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.
--------------ft8pOb2CHdnbAZyI0x71W9w6
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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.

[and stop apologizing for your terrible English, it's better than most, and much 
better than most of our Russian, but we are ni kulturni, da? I kept missing out 
on new language classes because teachers got transferred: no Russian at 11, no 
Spanish at 17, or I could be kulturni!] ;^>

-- 
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
--------------ft8pOb2CHdnbAZyI0x71W9w6
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
Y2U9JChlY2hvIC1uICdcYlx0XG5cdlxmXHInKQogICMgcmVtb3ZlIGxlYWRpbmcgd2hpdGVz
cGFjZSBjaGFyYWN0ZXJzCiAgX190cmltPSIkeyojIyRfc3BhY2V9IgogICMgcmVtb3ZlIHRy
YWlsaW5nIHdoaXRlc3BhY2UgY2hhcmFjdGVycwogIHByaW50ZiAiJXMiICIke19fdHJpbSUl
JF9zcGFjZX0iCn0KCnRyaW0yICIgYWxwaGEiIHwgb2QgLXQgeDFhCnRyaW0yICJiZXRhICIg
fCBvZCAtdCB4MWEKdHJpbTIgIg1nYW1tYQkiIHwgb2QgLXQgeDFhCgo=
--------------ft8pOb2CHdnbAZyI0x71W9w6
Content-Type: text/plain; charset=UTF-8; name="test11.log"
Content-Disposition: attachment; filename="test11.log"
Content-Transfer-Encoding: base64

IyEvYmluL2Rhc2ggLXZ4Cgp0cmltKCkgewogICMgcmVtb3ZlIGxlYWRpbmcgd2hpdGVzcGFj
ZSBjaGFyYWN0ZXJzCiAgX190cmltPSIkeyojJHsqJSVbIVs6c3BhY2U6XV0qfX0iCiAgIyBy
ZW1vdmUgdHJhaWxpbmcgd2hpdGVzcGFjZSBjaGFyYWN0ZXJzCiAgcHJpbnRmICIlcyIgIiR7
X190cmltJSR7X190cmlt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wcmludGYgJXMgZ2FtbWEKKyBvZCAtdCB4MWEKMDAwMDAwMCAgNjcgIDYx
ICA2ZCAgNmQgIDYxCiAgICAgICAgICBnICAgYSAgIG0gICBtICAgYQowMDAwMDA1Cgo=
--------------ft8pOb2CHdnbAZyI0x71W9w6
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
IC10IHgxYQowMDAwMDAwCgp0cmltMigpIHsKICAjIHJlbW92ZSBsZWFkaW5nIHdoaXRlc3Bh
Y2UgY2hhcmFjdGVycwogIF9fdHJpbT0iJHsqIyNbWzpzcGFjZTpdXX0iCiAgIyByZW1vdmUg
dHJhaWxpbmcgd2hpdGVzcGFjZSBjaGFyYWN0ZXJzCiAgcHJpbnRmICIlcyIgIiR7X190cmlt
JSVbWzpzcGFjZTpdXX0iCn0KCnRyaW0yICIgYWxw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dHJpbTIgImJl
dGEgIiB8IG9kIC10IHgxYQorIHRyaW0yIGJldGEgCisgX190cmltPWJldGEgCisgcHJpbnRm
ICVzIGJldGEgCisgb2QgLXQgeDFhCjAwMDAwMDAgIDYyICA2NSAgNzQgIDYxICAyMAogICAg
ICAgICAgYiAgIGUgICB0ICAgYSAgc3AKMDAwMDAwNQp0cmltMiAiDWdhbW1hCSIgfCBvZCAt
dCB4MWEKKyB0cmltMiANZ2FtbWEJCisgX190cmltPQ1nYW1tYQkKKyBwcmludGYgJXMgDWdh
bW1hCQorIG9kIC10IHgxYQowMDAwMDAwICAwZCAgNjcgIDYxICA2ZCAgNmQgIDYxICAwOQog
ICAgICAgICBjciAgIGcgICBhICAgbSAgIG0gICBhICBodAowMDAwMDA3Cgo=

--------------ft8pOb2CHdnbAZyI0x71W9w6
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

--------------ft8pOb2CHdnbAZyI0x71W9w6--

- Raw text -


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