Re: doc improvement for dotglob

2016-09-27 Thread Ian Kelling
On Tue, Sep 27, 2016, at 11:08 AM, Chet Ramey wrote: > > Thanks for the report. There should be something in there about `.' > and `..' always having to be matched explicitly. Yw. I noticed another improvement that could be made to the docs. How do you prefer patches? And, I assume you manually

Re: doc improvement for dotglob

2016-09-27 Thread Ian Kelling
On Tue, Sep 27, 2016, at 09:41 AM, L. A. Walsh wrote: > > > Ian Kelling wrote: > > The docs currently say: > > > > "When a pattern is used for filename expansion, the character '.' at > > the start of a filename or immediately following a slash must be matched > > explicitly, unless the shell opt

[suggestion] pulling up-to-date GNU config files / config.sub & config.guess

2016-09-27 Thread Ørjan Malde
Hi, Recently midipix target triplets were added to upstream GNU config, so I was wondering if the config.sub file could be pulled from GNU config to allow compilation of bash for midipix without patching

Re: Magnitude of Order "For Loop" performance deltas based on syntax change

2016-09-27 Thread isabella parakiss
On 9/26/16, Dan Douglas wrote: > Would an array of pointers to structs of key-value pairs be better > here? It should be faster in the common cases even though it may mean > some wasted space and reallocs depending on how you decide to grow the > array. A linear search through an array for an inde

Bad substitution when pressing [TAB]

2016-09-27 Thread Valentin Bajrami
HI, While I was testing some variable substitution I came across this error / unwanted behavior. So for example: $ printf '%s' "${/debash: ${/: bad substitution bash: ${/: bad substitution just after printf '%s' "${/[TAB] this behavior is triggert. Is this a bug? Can anyone elaborate this?

Re: doc improvement for dotglob

2016-09-27 Thread Chet Ramey
On 9/26/16 6:40 PM, Ian Kelling wrote: > The docs currently say: > > "When a pattern is used for filename expansion, the character '.' at > the start of a filename or immediately following a slash must be matched > explicitly, unless the shell option 'dotglob' is set. > > The last bit should be

Re: doc improvement for dotglob

2016-09-27 Thread L. A. Walsh
Ian Kelling wrote: The docs currently say: "When a pattern is used for filename expansion, the character '.' at the start of a filename or immediately following a slash must be matched explicitly, unless the shell option 'dotglob' is set. The last bit should be changed to say unless the sh

doc improvement for dotglob

2016-09-27 Thread Ian Kelling
The docs currently say: "When a pattern is used for filename expansion, the character '.' at the start of a filename or immediately following a slash must be matched explicitly, unless the shell option 'dotglob' is set. The last bit should be changed to say unless the shell option 'dotglob' is