Re: Segmentation fault

2007-12-19 Thread Chet Ramey
Matthew Woehlke wrote: > Why is [ 0 == 0 ] any more or less true than [ 0 -eq 0 ]? > > The problem seems to be that this line is missing from the function: > local n ret1 ret2 You're right about that. The OP and I conversed via email and resolved his questions. Chet -- ``The lyf so short, th

"for loop" problem in bash-3.2 on Freebsd-4.11release

2007-12-19 Thread showrun . lee
Machine: i386 OS: freebsd4.11 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE=' freebsd4.11' -DCONF_MACHTYPE='i386-unknown-freebsd4.11' -DCONF_VENDOR='unknown' -DLOCALEDIR='/home/lihongliang/libiconv/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H

Re: "for loop" problem in bash-3.2 on Freebsd-4.11release

2007-12-19 Thread Chet Ramey
showrun.lee wrote: > Machine: i386 > OS: freebsd4.11 > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE=' > freebsd4.11' -DCONF_MACHTYPE='i386-unknown-freebsd4.11' > -DCONF_VENDOR='unknown' > -DLOCALEDIR='/home/lihongliang/libiconv/share/locale' -DPACKAGE='