Re: extglob and globstar don't work together?

2017-01-16 Thread Chet Ramey
On 1/15/17 2:55 PM, Grisha Levit wrote: > Is it expected that ** work with extended pattern matching? No, it never has worked as in your example, nor was it intended to. That's not how it works with ksh93, either. The `**' is basically a pathname component. Chet -- ``The lyf so short, the craft

Re: extglob problems

2017-01-16 Thread Chet Ramey
On 1/15/17 2:46 PM, Grisha Levit wrote: >> On 3/23/16 6:15 PM, Isabella Parakiss wrote: >>> Just wanted to report a couple of problems in 4.3.42 and the latest >>> devel version: >> >> Thanks for the report. These were both easy fixes, and the fixes will >> be in bash-4.4. > > Using Isabella's ex

Re: bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected end of file

2017-01-16 Thread Greg Wooledge
On Mon, Jan 16, 2017 at 06:01:24PM +0100, Daniel Bullard wrote: > what do i do? First, stop top-posting. Second, stop taking list questions to private email. (I've remembered one of the list addresses to add back to the Cc: list, but not the other.) Third, add the missing "fi" line at the end.

Re: bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected end of file

2017-01-16 Thread Greg Wooledge
On Sun, Jan 15, 2017 at 08:44:24PM +0100, Daniel Bullard wrote: > # enable programmable completion features (you don't need to enable > # this, if it's already enabled in /etc/bash.bashrc and /etc/profile > # sources /etc/bash.bashrc). > if ! shopt -oq posix; then > if [ -f /usr/share/bash-comple

bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected end of file

2017-01-16 Thread Daniel Bullard
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DL$ uname output: Linux udontknowme 4.4.