Re: Global history list

2007-07-03 Thread Chet Ramey
Henryk Fuks wrote: > Hi all, > > I found at https://sourceforge.net/projects/bash-gchistory/ > a patch which allows to access shell command history across > multiple open instances of the shell. It seems that the patch > is no longer maintained, and it requires bash 3.00.16. > > Are there any pla

RE: Double quotes do not work in command substitution?

2007-07-03 Thread neitsch+bug-bash
Yes, that's expected. If a command substitution undergoes word splitting, the output will be split on whitespace. If it doesn't (you use the "$(...)" form, with quotes around), the output forms a single word, which will result in 'a b c' as the single value of $k. This will do what you want: $

Compilation fails when disabling debugger support. (--disable-debugger)

2007-07-03 Thread Ciprian Dorin Craciun
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: /usr/bin/gcc-4.1 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/opt/bash--3.2.17/sh

Global history list

2007-07-03 Thread Henryk Fuks
Hi all, I found at https://sourceforge.net/projects/bash-gchistory/ a patch which allows to access shell command history across multiple open instances of the shell. It seems that the patch is no longer maintained, and it requires bash 3.00.16. Are there any plans to incorporate this patch into o

Double quotes do not work in command substitution?

2007-07-03 Thread Dimitry Golubovsky
Hi, Is this behavior considered normal? [EMAIL PROTECTED] ~]$ for k in "a b" c ; do echo $k ; done a b c [EMAIL PROTECTED] ~]$ echo \"a b\" c "a b" c [EMAIL PROTECTED] ~]$ for k in `echo \"a b\" c` ; do echo $k ; done "a b" c [EMAIL PROTECTED] ~]$ bash --version GNU bash, version 3.2.17(1)-relea