extglob operators incorrectly handle literal parens

2005-10-16 Thread Alistair Happencross
I am using bash version 3.00.16(1)-release on Mac OS X. The problem is that literal parentheses are not matched correctly when they are specified inside extglob operators. Normal (non-extended) patterns are fine: $ touch foo\( $ ls foo\( foo( But extended globbing doesn't work right: $ shopt

Re: sigsegv in rl_resize_terminal

2005-10-16 Thread Sam Steingold
> * Chet Ramey <[EMAIL PROTECTED]> [2005-10-16 22:38:38 -0400]: > > Sam Steingold wrote: >>>* Chet Ramey <[EMAIL PROTECTED]> [2005-10-16 17:53:39 -0400]: >>> >>>Sam Steingold wrote: > >> >> is there a way to check whether readline has been initialized already? >> e.g., clisp may be running interac

Re: sigsegv in rl_resize_terminal

2005-10-16 Thread Chet Ramey
Sam Steingold wrote: >>* Chet Ramey <[EMAIL PROTECTED]> [2005-10-16 17:53:39 -0400]: >> >>Sam Steingold wrote: > > is there a way to check whether readline has been initialized already? > e.g., clisp may be running interactively and using readline and it may > be running in the batch mode and not

Re: sigsegv in rl_resize_terminal

2005-10-16 Thread Sam Steingold
> * Chet Ramey <[EMAIL PROTECTED]> [2005-10-16 17:53:39 -0400]: > > Sam Steingold wrote: >> I get this: >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x2821e472 in rl_resize_terminal () from /usr/lib/libreadline.so.4 >> >> (FreeBSD x86-freebsd1 4.11-RELEASE FreeBSD 4.11-RELEASE #0

Re: sigsegv in rl_resize_terminal

2005-10-16 Thread Chet Ramey
Sam Steingold wrote: > I get this: > > Program received signal SIGSEGV, Segmentation fault. > 0x2821e472 in rl_resize_terminal () from /usr/lib/libreadline.so.4 > > (FreeBSD x86-freebsd1 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Oct 5 > 21:16:58 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/s

Re: extglob problems in bash

2005-10-16 Thread Chet Ramey
Enrique Perez-Terron wrote: > > On Sun, 16 Oct 2005 17:10:48 +0200, <[EMAIL PROTECTED]> > posted on comp.unix.shell: > >> I have a problem that I'm trying to solve with the help of extended >> globbing. It doesn't work, and so I've narrowed down the buggy bit to a >> simple, illustrative example.

Re: What does extquote do

2005-10-16 Thread Chet Ramey
Enrique Perez-Terron wrote: > I am unable to make sense of the bash man-page description of the > extquote shopt option. > > It says: > > extquote >If set, $’string’ and $"string" quoting is performed within >${parameter} expansions enclosed in double quotes. This option >is enable

sigsegv in rl_resize_terminal

2005-10-16 Thread Sam Steingold
I get this: Program received signal SIGSEGV, Segmentation fault. 0x2821e472 in rl_resize_terminal () from /usr/lib/libreadline.so.4 (FreeBSD x86-freebsd1 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Oct 5 21:16:58 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386) what are the rul

Re: extglob problems in bash

2005-10-16 Thread Enrique Perez-Terron
On Sun, 16 Oct 2005 17:10:48 +0200, <[EMAIL PROTECTED]> posted on comp.unix.shell: I have a problem that I'm trying to solve with the help of extended globbing. It doesn't work, and so I've narrowed down the buggy bit to a simple, illustrative example. I need to match literal parentheses in a

What does extquote do

2005-10-16 Thread Enrique Perez-Terron
I am unable to make sense of the bash man-page description of the extquote shopt option. It says: extquote If set, $’string’ and $"string" quoting is performed within ${parameter} expansions enclosed in double quotes. This option is enabled by default. Can anybody come up with an ex