Re: Bug with -o posix, local variables and assignment preceding builtins

2010-02-07 Thread DennisW
On Feb 7, 7:33 pm, Crestez Dan Leonard wrote: > We encountered a strange bug while working on bash-completion. I was > originally only able to reproduce this through a fairly elaborate setup > but Freddy Vulto found a tiny test case: > >     set -o posix >     t() { >         local x >         BA

Bug with -o posix, local variables and assignment preceding builtins

2010-02-07 Thread Crestez Dan Leonard
We encountered a strange bug while working on bash-completion. I was originally only able to reproduce this through a fairly elaborate setup but Freddy Vulto found a tiny test case: set -o posix t() { local x BAR=a eval true } BAR=b; t; echo $BAR Bash documentatio

Re: Passing variables to and from custom programs

2010-02-07 Thread Chris F.A. Johnson
On Sun, 7 Feb 2010, Mike Stroyan wrote: > On Sat, Feb 06, 2010 at 05:35:21PM -0800, DennisW wrote: > > On Feb 6, 5:37 pm, djackn wrote: > > > Result = myIpExec(${IPaddr1} ${IPaddr2} ${IPaddr3} ${IPaddr4}) > > > > > > myIpExec is a c program that normally uses scanf to prompt the user > > > fo

Re: Passing variables to and from custom programs

2010-02-07 Thread Mike Stroyan
On Sat, Feb 06, 2010 at 05:35:21PM -0800, DennisW wrote: > On Feb 6, 5:37 pm, djackn wrote: > >     Result = myIpExec(${IPaddr1} ${IPaddr2} ${IPaddr3} ${IPaddr4}) > > > > myIpExec is a c program that normally uses scanf to prompt the user > > for the IP addresses and returns 0 or 1. > > I plan to

Re: scripts stop running in bg in 4.0.35, and need to be toggled fg-bg to complete

2010-02-07 Thread Miroslav Rovis
It was sox who messed it up. The play command of sox. As soon as it is left out, all is well. Pls. loop up the Gentoo Forums for more: http://forums.gentoo.org/viewtopic-p-6162718.html This is NOT a bug in bash nor readline. Sorry!