Bug#334182: dash doesn't assign second variable in a single statement

2005-10-29 Thread Herbert Xu
On Fri, Oct 28, 2005 at 08:54:40AM +, Gerrit Pape wrote: > > Hi Herbert, bash, pdks, and posh in unstable do it differently than > dash: > > $ bash -c 'K=dvb0.net0 A=${K#dvb} ; echo $A' > 0.net0 > $ pdksh -c 'K=dvb0.net0 A=${K#dvb} ; echo $A' > 0.net0 > $ posh -c 'K=dvb0.net0 A=${K#dvb}

Bug#334182: dash doesn't assign second variable in a single statement

2005-10-28 Thread Gerrit Pape
forward 334182 upstream quit On Sun, Oct 16, 2005 at 01:07:12PM +1000, Nathan Hand wrote: > Dash doesn't correctly handle code where a second variable is assigned > in a single statement. For example, this works with bash. > > $ /bin/bash -c 'K=dvb0.net0 A=${K#dvb} ; echo $A' > 0.net0 > > He

Bug#334182: dash doesn't assign second variable in a single statement

2005-10-15 Thread Nathan Hand
Package: dash Version: 0.5.2-8 Severity: normal Dash doesn't correctly handle code where a second variable is assigned in a single statement. For example, this works with bash. $ /bin/bash -c 'K=dvb0.net0 A=${K#dvb} ; echo $A' 0.net0 Here is the same line with dash. $ /bin/dash -c 'K=dvb