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}
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
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
3 matches
Mail list logo