delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/09/04/22:41:22

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5852fKjD528001
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5852fKjD528001
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=jGHpt/3p
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 589323858D39
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1757040078;
bh=a31abx5xXWFLr2ZrW48eWIf+a+U7wpMAx1K88qOt3/s=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=jGHpt/3pz9EIaQ0zNzsZYAFysuAB4tNiRpnMD4Zp9ONKvSQ/ZwD1gercJytWDpgaa
SNNw4ImcALGRxDjqdVD/XzU83CHRE3nui6/j7rXixBPm8RCSC7c6hHficWq9zQRWxu
dYrZwSeZf72Cplo5xyOm/AdFxbok4KeyK+1Wo5oc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B0A523858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B0A523858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757040010; cv=none;
b=hsGH+mJNhKc8He5U1n6ZaUHi60vx8rFG/tKkA4CoyCrpZBmk0iuMC7b9+RZDgcJ1QFF2SmWkGZk1LDa6s3ehWv53lSy0CUTu2fEmGrt4AyBf0XVu//MfmGYhDq9x6q7FU205+e0QsVD0OHp9mWawDR5VSw7wXxjag122LccUsc0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1757040010; c=relaxed/simple;
bh=KDJi3QqzBSDn5z3x7n6jE0yCl9WTiHA54zOL1qmY7CI=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=BcG1lpapZ7o/HR1FUyrcL9OwlbcM55Y97lpAb3DuHVmYEL5tFIHwV294Jc3bLY+dOgvkeBA0Xo90VUImh48rVAsOCHC3NNa75+OiPEv9fDxTj437cw/wLDutd8rsFTTyeaGdV77mzPfDQKFlEgGvkVW6msk6765Cg7c30q5X93k=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0A523858D1E
Date: Fri, 5 Sep 2025 12:39:58 +1000
To: cygwin AT cygwin DOT com
Subject: Re: bash 5.2.21-1: a bug in [0-9] expansion
Message-ID: <aLpNfswd6g9yLr8p@dimstar.local.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CADxVF5dR-0Z-fvjTNkMfC1U=12T7WfuipiODhuZNizQDUPL5AA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CADxVF5dR-0Z-fvjTNkMfC1U=12T7WfuipiODhuZNizQDUPL5AA@mail.gmail.com>
X-Atmail-Id: duncan_roe AT optusnet DOT com DOT au
X-atmailcloud-spam-action: no action
X-Cm-Analysis: v=2.4 cv=FY4xxo+6 c=1 sm=1 tr=0 ts=68ba4d82 cx=a_idp_f
a=6uXT7DF6Lsg9xELlzDb1tA==:117 a=6uXT7DF6Lsg9xELlzDb1tA==:17
a=IkcTkHD0fZMA:10 a=yJojWOMRYYMA:10 a=UicqBvIA70MCGVS67CMA:9
a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10
X-Cm-Envelope: MS4xfAUvaFmTT+o6EcvuoC0+7IGpNTJ7MskVv0PByzZZS9lBAVqPW2ensKcJKvvLfOURba7jzswEiVRLanpUrDWCNxl730HllqdxxV4QZxeOiedfIR2Gom+j
XH4NBhhaepvxwN4HYK4OB71JSJ6ahF6aOntkFsJwgNwNBc1uD5SfKa4ZNss8LIcySuvHcFjKq/9Faw==
X-atmailcloud-route: unknown
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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: Duncan Roe via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Duncan Roe <duncan_roe AT optusnet DOT com DOT au>
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5852fKjD528001

On Sun, Aug 31, 2025 at 12:06:09PM -0700, cygwin wrote:
> Description of the problem.
> [0-9]  picks also certain Unicode superscript characters ( namely, ⁰ ⁴ ⁵ ⁶
> ⁷ ⁸ ⁹ ), and every Unicode subscript character.
> 
> Example: the directory has the following files:
> $ /bin/ls
> ₀.txt  ₁.txt  ₂.txt  ₃.txt  ₄.txt  ₅.txt  ₆.txt  ₇.txt  ₈.txt  ₉.txt
> ⁰.txt  ¹.txt  ².txt  ³.txt  ⁴.txt  ⁵.txt  ⁶.txt  ⁷.txt  ⁸.txt  ⁹.txt
> 
> $ /bin/ls [0-9].txt
> ₀.txt  ₁.txt  ₃.txt  ⁴.txt  ⁵.txt  ⁶.txt  ⁷.txt  ⁸.txt
> ⁰.txt  ₂.txt  ₄.txt  ₅.txt  ₆.txt  ₇.txt  ₈.txt
> 
> $ locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_ALL=
> 
> System.
> Fully up to date Windows 11
> cygwin 3.6.4-1
> bash    5.2.21-1
> 
This reproduces under Linux with the newest available bash versions.

Rather than post the gory details of what I think is the underlying cause, I'll
report it as a bash issue and post a link to the report.

Cheers ... Duncan.

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

- Raw text -


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