Package: dash
Version: 0.5.3-7
Severity: normal
Hi,
in dash:
$ echo 456 | {
> foo=123
> while read line; do
> foo=$line
> done;}
$ echo $foo
$
In ksh:
$ echo 456 | {
> foo=123
> while read line; do
> foo=$line
> done;}
$ echo $foo
456
This should work in dash too.
Kind regards
Nico
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages dash depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
dash recommends no packages.
-- debconf information:
dash/sh: false
--
Nico Golde - http://www.ngolde.de
JAB: [EMAIL PROTECTED] - GPG: 0x73647CFF
Forget about that mouse with 3/4/5 buttons,
gimme a keyboard with 103/104/105 keys!
signature.asc
Description: Digital signature

