Re: function name bug ?

2008-07-31 Thread christophe malvasio
2008/7/31 Paul Jarc [EMAIL PROTECTED] christophe malvasio [EMAIL PROTECTED] wrote: cbz (){ echo why 'cbz' not a valid function name ?;} bash: syntax error near unexpected token `(' It works for me. What does alias cbz say for you? paul alias work are you in x86 ?

Re: [bash-3.2.39] race condition on AIX when using libtool with bash

2008-07-31 Thread Michael Haubenwallner
On Wed, 2008-07-30 at 18:53 +0200, Michael Haubenwallner wrote: snip Now I can see (stripped the unimportant): open(GetWMCMapW.loT, O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE) = 4 kfcntl(4, 14, 0x0001) = 1 close(4)= 0

Re: function name bug ?

2008-07-31 Thread Jan Schampera
christophe malvasio wrote: cbz (){ echo why 'cbz' not a valid function name ?;} bash: syntax error near unexpected token `(' It works for me. What does alias cbz say for you? alias work He wants to know if you probably have an alias named cbz defined, not if your alias engine works. J.

Re: set -x output of test operator is irretating

2008-07-31 Thread Bob Proulx
Chet Ramey wrote: Toralf Förster wrote: I'm wondering why in the example (see below) the right side is prefixed with a '\' wheras the left side is unchanged. ... [EMAIL PROTECTED] ~ $ echo 1 2 3 4 | while read a b c d; do [[ $a = $b || $a = $c || $a = $d

Re: set -x output of test operator is irretating

2008-07-31 Thread Jan Schampera
Bob Proulx wrote: Chet Ramey wrote: Toralf Förster wrote: I'm wondering why in the example (see below) the right side is prefixed with a '\' wheras the left side is unchanged. ... [EMAIL PROTECTED] ~ $ echo 1 2 3 4 | while read a b c d; do [[ $a = $b || $a = $c ||

Re: set -x output of test operator is irretating

2008-07-31 Thread Jan Schampera
Jan Schampera wrote: = and == should make have difference in behaviour. should not show differences *suh* Sorry J.

One cant insert a single quote into a variable with built-in substitution.

2008-07-31 Thread Damien Nadé
Hello I've tried to insert a single quote into a variable content. With something like this : bash-3.2$ foo=bar bash-3.2$ echo ${foo/%/'} If you look at that, you understand that is the $PS2, so it means that bash is interpreting the single quote a special char. So, naturally, I've