Parameter Substitution Causing Memory Leak

2014-01-06 Thread toddbstein
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'

Re: For loop prints two $values instead of one

2014-01-06 Thread Chris Down
Hello, On 2014-01-07 00:45:42 +0200, DanielB wrote: > I've a problem with bash array loop. > > the following code instead of printing each value separately, joins two > values and prints them as if they are one. > > declare -a array=( 'sf052' 'to060' 'pw' 'qb099' 'pw22' 'wp039' 'wx12' > 'wx11' )

For loop prints two $values instead of one

2014-01-06 Thread DanielB
I've a problem with bash array loop. the following code instead of printing each value separately, joins two values and prints them as if they are one. declare -a array=( 'sf052' 'to060' 'pw' 'qb099' 'pw22' 'wp039' 'wx12' 'wx11' )for subD in "${array[@]}"; do echo $subDdone output: sf052 to

Re: doing completion and menu-completion with just one key

2014-01-06 Thread Chet Ramey
On 1/4/14 8:09 AM, Ernest Adrogué wrote: > Hi there, > > This is not a bug per se, just an idea. > > On many occasions I find myself repeatedly typing a character followed by > TAB in order to narrow down possible completions, until there is just one > candidate left. This is not efficient, beca

Re: Man page description of delete-char, when is EOF returned?

2014-01-06 Thread Chet Ramey
On 1/5/14 6:15 PM, Parke wrote: > Hi, > > From bash's man page: > >Commands for Changing Text >delete-char (C-d) > Delete the character at point. If point is at the beginning of > the line, there are no characters in the line, and the last >