Re: bash-3.2 multibyte behavior on Solaris

2009-05-29 Thread Chet Ramey
Jan Hnatek wrote: > Hi, > > bash-3.2 on Solaris is suffering from the following bug: > http://defect.opensolaris.org/bz/show_bug.cgi?id=3743 > (bash hangs sometimes when navigating with the arrow keys) The problem is that different implementations of mbrtowc return different values when `n' is

missing dependencies in bash Makefile

2009-05-29 Thread Mike Frysinger
the Makefile is missing the following dependencies (sure wish this list was autogenerated ...): - subst.o: ${DEFDIR}/builtext.h - many objects that use shell.h but dont declare pathnames.h a grep on the Makefile shows that like 83 objects depend on shell.h but only about 40 of those depend on

Re: Bash loadable plugins ... minimal header file?

2009-05-29 Thread Mike Frysinger
On Thursday 28 May 2009 05:14:50 Dr. Werner Fink wrote: > AFAICS from examples/loadables/ a lot of headers are readed > by the compiler which requires - beside the bash and the > readline library - an further package (rpm/deb) bash-devel > for including all those headers ... beside this the Makefil

Re: Help help missing m option in synopsis

2009-05-29 Thread Andreas Schwab
"Chris F.A. Johnson" writes: >As a result, it is not possible to have help print just the help >for time or read, for example, they always include times, >readarray, and readonly: $ help -d "t*ime" "r*ead" Shell commands matching keywords `t*ime, r*ead' time - Report time consum

Help help missing m option in synopsis

2009-05-29 Thread Chris F.A. Johnson
The synopsis for the help builtin is missing the -m option: help: help [-ds] [pattern ...] Also, the PATTERN is not a pattern in the usual sense, it the beginning of a command: $ help -d c caller - Return the context of the current subroutine call. case - Execute commands ba

Re: Really minor bug. Curent working directory: "//"

2009-05-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to p...@safe-mail.net on 5/29/2009 3:34 AM: > Description: > Really minor bug. Bash returns "//" as current working directory after > changing directory to "//". Changing directory to "///" ("or to more > slashes") results in "/" as c

Really minor bug. Curent working directory: "//"

2009-05-29 Thread pbd
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: freebsd7.1 Compiler: cc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='freebsd7.1' -DCONF_MACHTYPE='i386-portbld-freebsd7.1' -DCONF_VENDOR='portbld' -DLOCALEDIR='/usr/local/share/loc

Re: bash script error in array definition.

2009-05-29 Thread straygrey
Greg Wooledge wrote: > > On Wed, May 27, 2009 at 03:33:10AM -0700, straygrey wrote: >> Please tell me what is wrong with the following line that I have in a >> bash >> script:- >> [code] >> TODAYDATE=`date +"%Y%m%d"` >> declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2 >> $TODAYDATE.TeleformDB2.

Re: bash script error in array definition.

2009-05-29 Thread Alf Stockton
Greg Wooledge wrote: On Wed, May 27, 2009 at 03:33:10AM -0700, straygrey wrote: Please tell me what is wrong with the following line that I have in a bash script:- [code] TODAYDATE=`date +"%Y%m%d"` declare -a FiLeS=( $TODAYDATE.TeleformDB.tar.bz2 $TODAYDATE.TeleformDB2.tar.bz2 ) [/code] When I r