On Thu, Oct 26, 2006 at 12:14:16PM -0400, A. Costa wrote:
> On Mon, 23 Oct 2006 10:05:39 +0000
> Gerrit Pape <[EMAIL PROTECTED]> wrote:
> 
> > ...Here bash --posix behaves differently in the first case.
> 
> Yet another view, without the '-x', plus a few more shells: 
> 
>       % for f in dash posh ksh pdksh bash "bash --posix"; do echo -n "$f:  " 
> ; $f -c 'export x="$@"; echo $x; echo $y'     foo bar 'y=baz boo' ; done
>       dash:  bar
>       baz boo
>       posh:  bar
>       baz boo
>       ksh:  bar y=baz boo
> 
>       pdksh:  bar y=baz boo
>       
>       bash:  bar y=baz boo
>       
>       bash --posix:  bar y=baz boo
>       
>       % for f in dash posh ksh pdksh bash "bash --posix"; do echo -n "$f:  " 
> ; $f -c 'export "x=$@"; echo $x; echo $y'     foo bar 'y=baz boo' ; done
>       dash:  bar
>       baz boo
>       posh:  bar
>       baz boo
>       ksh:  bar
>       baz boo
>       pdksh:  bar
>       baz boo
>       bash:  bar
>       baz boo
>       bash --posix:  bar
>       baz boo
> 
> ...hmm, do 'ksh' and 'pdksh' share the same bug?

I'd say so, yes.  Let's first see whether the bash people agree,
reassigned.

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to