Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: =?UTF-8?B?T8SfdXo=?= Newsgroups: gnu.bash.bug Subject: quote removal issues within character class Date: Sat, 9 Nov 2019 00:50:52 +0300 Lines: 15 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1573249874 23810 209.51.188.17 (8 Nov 2019 21:51:14 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6pSX1x8X+uhbRel8l2iMFbJ/Sn6YYr4tmSBy94Ncs20=; b=WfzcCTnocBVh10hkEIitXCw3nPwZYEPgTGVy/gu21HHBYVrfqc/ElkGYMjpvBzbNlg OzkZvcW1xRKQGHgP5j1+PNp/xA2bcFbMDJf8Iaz1pletioeqXpmUiOtNwwzw7g7sUNMf N3D8LK+3Ys12TpRCULToV1w/nZjzCKmD34EhedGKsn6tAM5wuL2HNeRRBEiFa9k2hZdv 5Xb9lIpOaDoakWhhuxGKRU3OTRg1JgMcBXFTVaI2c2fVkhYRuDHIskLagnLkwwVmajDO Y1aK6Ouqe6TOBQl+WkoDLmxNG1hYAX220EMFGxsLV/kl1FahIo2iGTu6r/uHxP6xPOyk x5Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6pSX1x8X+uhbRel8l2iMFbJ/Sn6YYr4tmSBy94Ncs20=; b=eSs1xfuMlXJ6sf8ljfESflkbI9kQPjcTi4N15MY9+n368QoGQ6uHHL8aeT+jfgxUkl 5o4retfkcspcY1lz4uNnVxAjUta36GHIx5SdOd/pUKHpODwA3bhk8B+9gq3tf1Q0OEBi eWX43+n0XeD+aLGHDvMmHqfxh320x6nVlNmfWZl27CNiyTPKSaC/pFBPqTkW0OSZ4QkP 0+YDy00IgrLuzaqI4/hxw8g7VPkgsISbxzMx7s5Le6E698Q0zM+cT81wlx/PXAphaatO brKjJ4izIF4UR0HrGMEABJigF2e6blXZtaNO3st0EWGnsCOi7qcLlEx2MuEEdPJ4DIyf PLmQ== X-Gm-Message-State: APjAAAWOK2sP4zodrISRhQlwP3jrZNLp6OkzxfNF0Sa4MLfMv1L1Uslo ZuoB3CUU6CZYlYYOsalTLipxu6RFpGNaCqBCcRqq8KiN201udg== X-Google-Smtp-Source: APXvYqyUEgpyA3QOM03xCMgU28N3bAiqrlqLQ+wKYtGR+FxDDJl7cAVzC4gbBiidcsCuzZ6KmocVUymDMRA9/J3JkgM= X-Received: by 2002:a0c:f241:: with SMTP id z1mr11785456qvl.53.1573249869149; Fri, 08 Nov 2019 13:51:09 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f30 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:15577 v=foo echo ${v#[[:"lower":]]} should print oo, but it prints foo instead. This is reproducible on bash >4.4 Plus case foo in (*[![:"lower":]]*) echo bar; esac prints bar, while case foo in (*[![":lower":]]*) echo bar; esac doesn't print anything. And this is only reproducible on bash >5.0