Re: improper handling of [] sequences

2005-07-21 Thread Tatavarty Kalyan
Please try, "ls a[[:upper:]]a" instead. "a[:upper:]a" matches 'a' followed by any one of ':','u','p','e','r' ,followed by 'a'. Thanks, Kalyan On 7/22/05, James Downs <[EMAIL PROTECTED]> wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i386 > OS: linux-gnu

improper handling of [] sequences

2005-07-21 Thread James Downs
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: i386-redhat-linux-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' - DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' - DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/s

Re: unsafe signal handler

2005-07-21 Thread Tim Waugh
Further information on unsafe functions used in signal handlers: a brief inspection of the code in the termination_unwind_protect() handler revealed other instances than the one highlighted before: run_interrupt_trap->_run_trap_internal->savestring->xmalloc (and more like that) maybe_save_shell_h