Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14529 > unrolled thread
| Started by | Michal Pesa <pesathem@gmail.com> |
|---|---|
| First post | 2018-08-22 21:19 +0200 |
| Last post | 2018-08-22 21:19 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Nested extglob outputs "." ".." Michal Pesa <pesathem@gmail.com> - 2018-08-22 21:19 +0200
| From | Michal Pesa <pesathem@gmail.com> |
|---|---|
| Date | 2018-08-22 21:19 +0200 |
| Subject | Re: Nested extglob outputs "." ".." |
| Message-ID | <mailman.5423.1534965723.1292.bug-bash@gnu.org> |
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 top | Article view | gnu.bash.bug
csiph-web