DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 587796rH1863477 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 587796rH1863477 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=msnrcmxn X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8FC4F3858D21 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1757228944; bh=a23xlfBMFoagLbhAkJiCyp8DqJCdyZ0mANhNSV8CDa0=; 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=msnrcmxns/HT1o8GczRF13FD1Oqvn/eifKUIDWWewlX9UV31WYBPO9eUQs2hscO/7 p5z4t7uMHWYEXc9dS6BdWPxlEZTA2f5yvlrefEiLQ4QNJzKt01kECj+0B0l269vqlP XlRoQUploL9GjbZ63Ut6hsi+yi8N+9cKoZyGyTrA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E3B83858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E3B83858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757228919; cv=none; b=F8/Y8Ox6wcgc/cBlPhlz3pJ9UxqfpVza9Gr5sLtJukTHXp0Ic/GxMwyYAFGlP9u9be9ByAWVSRTHVQmkSDi4SoWq2prTbPH3mE2QlNS1lsw85DWKaizav4PEzip0nt3TTJp6wcVJrAzmcXRwnosDwCAfTnn49Azz2qet1cB6M7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757228919; c=relaxed/simple; bh=lUZ/LwX00WAX2zA9SFrHn4q4LYjRPeW4RKl/aTCgjiM=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=jR8OauPTuqCOG4Lrun63Kz5DrQp8WsKSaoo+k6PItDW7f010r+jjJoK6qGlHxeUVYBlNN5eUIosbEG6KMWFMVnlsuIHe/cr37nooEKhTzpD0rSwNwczAMNdU557IHxBiOhDjKJ27HmffKVBnwIKI4Xx8pF8KcXaYfx8PgIv/GwQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E3B83858D20 Date: Sun, 7 Sep 2025 17:08:34 +1000 To: cygwin AT cygwin DOT com Subject: Re: bash 5.2.21-1: a bug in [0-9] expansion Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Atmail-Id: duncan_roe AT optusnet DOT com DOT au X-atmailcloud-spam-action: no action X-Cm-Analysis: v=2.4 cv=H8PdwfYi c=1 sm=1 tr=0 ts=68bd2f74 cx=a_idp_f a=6uXT7DF6Lsg9xELlzDb1tA==:117 a=6uXT7DF6Lsg9xELlzDb1tA==:17 a=IkcTkHD0fZMA:10 a=yJojWOMRYYMA:10 a=mDV3o1hIAAAA:8 a=3T-Knur9HBDxutW_G5oA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=3f7CutfA2skA:10 X-Cm-Envelope: MS4xfGB9AlEZAbJ2trTm/c/8aCleVHnjstT4ka2t1QaHn7zkPPfliIG5KGw9LDGpKy3IrSpOnVhHlpEUcmCSWNKJbQMzYxOh3fQlv2fp4kWw2EArtdryrtrC WYWC+5FaP9kaNVYBfJTUXo9YjT1PaHvSXrytgSINsleWQHsDZQNN/iBGCV4F8CrU7+z4FKTewzjNag== X-atmailcloud-route: unknown X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Duncan Roe via Cygwin Reply-To: Duncan Roe Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 587796rH1863477 On Fri, Sep 05, 2025 at 12:39:58PM +1000, cygwin wrote: > 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. > Link is https://lists.gnu.org/archive/html/bug-bash/2025-09/msg00053.html 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