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

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

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. I need

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

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: Wed Oct 5

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 using

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