completion considers equals sign (=) its own word?

2009-12-17 Thread bebarino
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' -DPACKAGE='ba

[bash-4.0 executes command without newline]

2009-12-17 Thread Arindam Sarkar - Sun Microsystems
Configuration Information [Automatically generated, do not change]: Machine: sparc OS: solaris2.11 Compiler: /ws/onnv-tools/SUNWspro/SS12/bin/c99 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' -DCONF_OSTYPE='solaris2.11' -DCONF_MACHTYPE='sparc-sun-solaris2.11' -DCONF_VENDOR='sun'

Crash when completing a quoted string ending with '\'

2009-12-17 Thread benoit . boissinot
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' -DPACKAGE='ba

BASH Command substitution

2009-12-17 Thread Zoltan Mate
Dear Chet Ramey, I have a conversation on an other bug forum, then have been directed to here, I cannot find any documentation, why $ echo $(echo "'alfa beta'") gives 'alfa beta' whith reduced space, instead of the result of the following more logical ways: $ echo $(echo "'alfa beta'") the sec

Re: BASH Command substitution

2009-12-17 Thread Chris F.A. Johnson
On Thu, 17 Dec 2009, Zoltan Mate wrote: > Dear Chet Ramey, > > I have a conversation on an other bug forum, then have been directed > to here, I cannot find any documentation, why > > $ echo $(echo "'alfa beta'") > gives 'alfa beta' whith reduced space, instead of the result of the > following

Re: completion considers equals sign (=) its own word?

2009-12-17 Thread Chet Ramey
On 12/15/09 6:01 AM, bebar...@gmail.com wrote: > 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' > -DC

Re: [bash-4.0 executes command without newline]

2009-12-17 Thread Chet Ramey
On 12/16/09 7:59 AM, Arindam Sarkar - Sun Microsystems wrote: > Configuration Information [Automatically generated, do not change]: > Machine: sparc > OS: solaris2.11 > Compiler: /ws/onnv-tools/SUNWspro/SS12/bin/c99 > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' > -DCONF_OSTYPE='so

Re: Crash when completing a quoted string ending with '\'

2009-12-17 Thread Chet Ramey
On 12/16/09 8:28 PM, benoit.boissi...@ens-lyon.org wrote: > 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-

Re: BASH Command substitution

2009-12-17 Thread Gerard
On Thu, 17 Dec 2009 12:02:35 +0100 Zoltan Mate articulated: > this bugzilla isnt a forum for teaching people how to script bash. > if you want further help, please ask on the bash mailing list, or the > gentoo forums, or some other suitable location. Where exactly is the "bash mailing list"? --

Re: BASH Command substitution

2009-12-17 Thread Chet Ramey
On 12/17/09 6:02 AM, Zoltan Mate wrote: > Dear Chet Ramey, > > I have a conversation on an other bug forum, then have been directed > to here, I cannot find any documentation, why You have to read the section on word splitting. The output of command substitution is subject to word splitting, unl