Re: Add {{ }}, ${{ }}, return n [x], and $:

2021-04-30 Thread Robert Elz
Date:Fri, 30 Apr 2021 19:28:47 +0800 From:konsolebox Message-ID: | That was my initial idea too, but I think it's better to just leave { | } alone as modifying its behavior still has a chance of breaking | scripts. It does have, though most usage of local is

Re: Bash extended glob - Negation

2021-04-30 Thread Chet Ramey
On 4/30/21 2:58 AM, Inian Vasanth wrote: Bash Version: 5.1 Patch Level: 4 Release Status: release Description: A wildcard expression after a negate extglob construct is not returning right results. Steps Consider the following files and assume, that I want to exclude files ending with 8 sho

Bash development roadmap

2021-04-30 Thread Léa Gris
As I see periodic features requests for Bash in this list. They most often misses some background plan or justification beyond QOL improvement for script coder, so they can have same feature as with other language. I always thought that Bash DNA was tied to orchestrating actions from commands

Re: RFE - support option for curses idea of term [tab]size.

2021-04-30 Thread Chet Ramey
On 4/29/21 10:39 PM, L A Walsh wrote: On 2021/04/26 17:16, Chet Ramey wrote: On 4/26/21 7:19 PM, L A Walsh wrote: I'm not clear if termcap lib has this or not, when the curses library is in use, it supports the idea of reading and setting the term [tab]size. Can't you do this with `stty siz

Re: RFE - support option for curses idea of term [tab]size.

2021-04-30 Thread Koichi Murase
2021年4月30日(金) 11:41 L A Walsh : > On 2021/04/26 17:16, Chet Ramey wrote: > > Readline is tab-agnostic, or tab-stop-agnostic, in a sense. It > > performs tab > > expansion itself during redisplay, and currently uses a tab stop of 8. > > That's not user-settable. > --- > It doesn't always do it c

Re: RFE - support option for curses idea of term [tab]size.

2021-04-30 Thread Greg Wooledge
On Thu, Apr 29, 2021 at 07:39:37PM -0700, L A Walsh wrote: >It doesn't always do it correctly because it doesn't always know > where it is in a line. As such it has a bug that would be fixed by > having it really know where it was at (from talking with libcurses) > as well as what the tabstops

Re: Add {{ }}, ${{ }}, return n [x], and $:

2021-04-30 Thread konsolebox
On Fri, Apr 30, 2021 at 4:09 PM Robert Elz wrote: > > Date:Fri, 30 Apr 2021 14:53:58 +0800 > From:konsolebox > Message-ID: > > > | {{ }} - Similar to { }, but runs like a function so variables can be > | declared local > > From below, I suspect you mean more, th

Re: Bash extended glob - Negation

2021-04-30 Thread Oğuz
30 Nisan 2021 Cuma tarihinde Robert Elz yazdı: > Date:Fri, 30 Apr 2021 12:28:32 +0530 > From:Inian Vasanth > Message-ID: 3...@mail.gmail.com> > > | Why is it the case? Shouldn't the glob expression just serve the !(8) > | pattern to exclude and simply do a no-op

Re: Add {{ }}, ${{ }}, return n [x], and $:

2021-04-30 Thread Robert Elz
Date:Fri, 30 Apr 2021 14:53:58 +0800 From:konsolebox Message-ID: | {{ }} - Similar to { }, but runs like a function so variables can be | declared local >From below, I suspect you mean more, though you haven't fully defined what you mean, but extending local to

Re: Bash extended glob - Negation

2021-04-30 Thread Robert Elz
Date:Fri, 30 Apr 2021 12:28:32 +0530 From:Inian Vasanth Message-ID: | Why is it the case? Shouldn't the glob expression just serve the !(8) | pattern to exclude and simply do a no-op for the extra * character? The '*' means "sero or more of the preceding", the

Bash extended glob - Negation

2021-04-30 Thread Inian Vasanth
Configuration Information: Machine: x86_64 OS: darwin20.2.0 Compiler: clang Compilation CFLAGS: -DSSH_SOURCE_BASHRC uname output: Darwin C02YW0DVLVCH 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64 Machine Type: x86_64-apple-darwin20.2.0