Re: wrong logical evaluation of expressions involving true or false commands

2007-06-26 Thread Matthew Woehlke
Paul Jarc wrote: Matthew Woehlke <[EMAIL PROTECTED]> wrote: Stephane Chazelas wrote: [ -n "$foo" -a -n "$bar" ] is not the expression to test whether both "$foo" and "$bar" are non-empty, as it would fail for some specific values of $foo or $bar (try it when $foo contains "=" for instance). Hu

Re: wrong logical evaluation of expressions involving true or false commands

2007-06-26 Thread Miguel Ángel
Thank's a lot, Bob & Stephane. Very instructive your info. Sorry for my misinformation. Regards. -- sLap ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Composed characters + colour = strange cursor behaviour

2007-06-26 Thread Tristan Miller
Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc -I/usr/src/packages/BUILD/bash-3.2 -L/usr/src/packages/BUILD/bash$ Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='lin$ uname output: Linux polecat 2.6.18.8-cc

Re: Composed characters + colour = strange cursor behaviour

2007-06-26 Thread Benno Schulenberg
Tristan Miller wrote: > Bash Version: 3.2 > Patch Level: 9 Please try again with patch level 17. Patch 16 or 17 addresses multibyte characters. > Repeat-By: > 1. PS1="\w\[\033[0m\]" > 2. mkdir n̈ > (Note that the above is U+006E U+0308) > 3. cd n̈ > (At this point