Can create function that can't be deleted

2006-01-15 Thread michael . odonnell
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='linu x-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDI

expansion fails for ${#VAR[$(( 0+0 ))]}

2006-01-15 Thread jckn
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -

Bash Bugs

2006-01-15 Thread n3d gonzales
Hello, I used my old script to my new machine and their's a bug on it. I have attached the very simplified script. It will determine whether the file has space or not. The result is different. gcc-3.4.3-22.1 bash-3.0-19.2 Red Hat Enterprise Linux ES release 4 (Nahant Update 1) IBM Intel(R)

Re: Can create BASH functions that can't be deleted

2006-01-15 Thread Chris F.A. Johnson
On Fri, 13 Jan 2006, Michael ODonnell wrote: 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='linu x-gnu'

Re: [patch] fix 'exec -l /bin/bash'

2006-01-15 Thread Mike Frysinger
On Friday 13 January 2006 12:11, Tim Waugh wrote: Description: If bash has argv[0] as '-/bin/bash' it does not become a login shell. Repeat-By: exec -l /bin/bash shopt Fix: patch works for me using screen / login shells thanks -mike