Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14529
| Path | csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Michal Pesa <pesathem@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Nested extglob outputs "." ".." |
| Date | Wed, 22 Aug 2018 21:19:30 +0200 |
| Lines | 25 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.5423.1534965723.1292.bug-bash@gnu.org> (permalink) |
| References | <d8f8c7e1-8b7e-956f-3428-6b7bf8870f0c@gmail.com> <5a1ff889-eb41-f15a-7f93-65709e00bcac@case.edu> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1534965723 25857 208.118.235.17 (22 Aug 2018 19:22:03 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | chet.ramey@case.edu, 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=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=1+sXmLsByamP3xg3xHdI5i75ijKZSZA2oJIzZq5qYY0=; b=c+Z8S/eLptgapaQhD+SJUNc4TiIYEtZ/V5ceozxbakyymuY5IRr/+SVYYNR1CAiQ4T ohWJMLsM+qidLf933kZ6bynGqHZ3XwszKhG0LIwzF2Tk/UtVmKik0ZE2C5qKOt9SwbaC 1cDglyccH60X6naTL0KzkGUNbgHC6rhViEKqoLd4GxPYxFVxMFyBQ3e3tcIwvC1uTJJI 15OCeN0zSwnq+NzQWjiw6g1UCCI3SKP+pbz+xwPvr1mcXZnpacFwgpCulhJBMMxPLRYx tv7aviD1fn1er+O/lpnXuVSXJK8kenxtntEo/gFBabkdBiC+GNndUs5J6j01OdK3ABMM 3GXg== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=1+sXmLsByamP3xg3xHdI5i75ijKZSZA2oJIzZq5qYY0=; b=p7YXRJjDQa9LOc8eg6ygtESXdvkoFjsH7GH1VBJtDBaFfrKKaahFLtgZT4uE0SM8hq OZmtRvgOKq4LMeAwSwboAt9wqpkanP6qZizf03WeSEngCf78PBkXQed5o3Wsx23r+tjS I30jNYubLZO4iWHoIpbD6dG+NT89Lo3g2jryp+cqgPJX98jXaSoDlrZreTbahyzUt4g0 /kBABiPwvU4Be9zISjjqFfuO6spV6IKKeRha5nmzHGExi2zQ9CjZSUB2RliOspWuXI9z MRZqPN9YVOafJzyNymU1fgrwmR5Y2ahpYha0bexS4hiU9vkc1xIn9cvURzTU6OTe+YCO 9e5w== |
| X-Gm-Message-State | APzg51C+F7JQPdTxtYGoHJTGDrmMMNRBv3M4garMtBMqFMQxrPAxYEdl HO+ANFalcRLXTXbJvoHEWSezQbeC |
| X-Google-Smtp-Source | ANB0VdbGQ9vXdswnChDM3QMp7OfpIio8d6bvGWV7sisXcCHscEaF1dygy8c9IkF1onekrmwS5ZuyYQ== |
| X-Received | by 2002:a1c:ac04:: with SMTP id v4-v6mr3292085wme.51.1534965569759; Wed, 22 Aug 2018 12:19:29 -0700 (PDT) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
| In-Reply-To | <5a1ff889-eb41-f15a-7f93-65709e00bcac@case.edu> |
| Content-Language | en-US |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2a00:1450:400c:c09::22b |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash/> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:14529 |
Show key headers only | View raw
My bad, sorry for not searching properly before asking. Thank you for your time. On 8/22/2018 3:16 PM, Chet Ramey wrote: > On 8/22/18 3:57 AM, Michal Pesa wrote: >> Hello, I have encountered a strange behavior of nested extended globs: >> >> $ echo * >> 0000.txt 000.txt 00.txt 0.txt a.txt b.txt c.txt >> $ echo !(0.txt) >> 0000.txt 000.txt 00.txt a.txt b.txt c.txt >> $ echo !(+(0).txt) >> . .. a.txt b.txt c.txt >> >> The last example correctly excludes the files but why are "." ".." being >> printed? > This was changed back in January as the result of a discussion started by > > http://lists.gnu.org/archive/html/bug-bash/2017-12/msg00074.html > > Chet >
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Nested extglob outputs "." ".." Michal Pesa <pesathem@gmail.com> - 2018-08-22 21:19 +0200
csiph-web