Subject: Re: sh reads byte by byte
To: Manuel Bouyer <>
From: Aymeric Vincent <>
List: tech-userlevel
Date: 01/21/2007 00:47:00

Manuel Bouyer <> writes:

> while read a b c; do
> echo $a $b $c
> done < /tmp/file
> will read /tmp/file byte by byte. With the current pkg-vulnerabilities

just as a datapoint, I remember reading a bit the sources of sh a long
time ago, and sh used this "feature" when evaluating backquotes: it
redirected its own standard input to read from the subshell.
If someone optimizes sh, this will certainly be something to take into