--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dash only reads the first character from pipe (bash reads whole line)
- From: Corin Langosch <corinl@gmx.de>
- Date: Tue, 22 Sep 2009 15:59:45 +0200
- Message-id: <4AB8D851.9010800@gmx.de>
Package: dash
Version: 0.5.5.1-2.3
Severity: important
The 'read' command seems to only read the first character and not the whole line.
Example / comparison with bash:
# /bin/dash
# read MAX </proc/sys/net/netfilter/nf_conntrack_max
# echo $MAX
2
# /bin/bash
# read MAX </proc/sys/net/netfilter/nf_conntrack_max
# echo $MAX
262144
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-vserver-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dash depends on:
ii debianutils 3.2.1 Miscellaneous utilities specific t
ii dpkg 1.15.3.1+b1 Debian package management system
ii libc6 2.9-25 GNU C Library: Shared libraries
dash recommends no packages.
dash suggests no packages.
-- debconf information:
* dash/sh: true
--- End Message ---
--- Begin Message ---
- To: Christian Hohnstaedt <chohnstaedt@innominate.com>
- Cc: 547902-done@bugs.debian.org
- Subject: Re: Bug#547902: dash only reads the first character from pipe (bash reads whole line)
- From: Moritz Muehlenhoff <jmm@inutil.org>
- Date: Fri, 6 May 2011 21:15:45 +0200
- Message-id: <20110506191545.GB21614@inutil.org>
- In-reply-to: <20091124211606.GB17551@inutil.org>
- References: <20090922134940.8907.69792.reportbug@r15790.lunarix.de> <20090929115955.26065.qmail@2e8f1a44d3d8c2.315fe32.mid.smarden.org> <4ACDCE50.10505@netskin.com> <20091013111301.9803.qmail@217d8591a43e27.315fe32.mid.smarden.org> <20091118211348.GA3994@galadriel.inutil.org> <20091119082747.GB19228@elara.bln.innominate.local> <20091124211606.GB17551@inutil.org>
On Tue, Nov 24, 2009 at 10:16:06PM +0100, Moritz Muehlenhoff wrote:
> On Thu, Nov 19, 2009 at 09:27:47AM +0100, Christian Hohnstaedt wrote:
> > On Wed, Nov 18, 2009 at 10:13:48PM +0100, Moritz Muehlenhoff wrote:
> > > On Tue, Oct 13, 2009 at 11:13:01AM +0000, Gerrit Pape wrote:
> > > > tags 547902 + patch
> > > > quit
> > >
> > > [ Adding Christian to CC: ]
> > >
> > > Christian, did you submit your patch upstream?
> >
> > No, not yet.
>
> Please keep this bug CCed if you submit it.
Closing due to lack of activity.
Cheers,
Moritz
--- End Message ---