Bernd Walter <ticso(at)cicely.de> wrote:
> While ist ein Shell interner Befehl und läuft mit dem Shell Prozess.
> Dementsprechend kann dann auch stdin nicht umgelenkt werden.
Vielleicht verstehe ich dich falsch, aber
$ while read foo; do ...; done < file
$ cmd | while read foo; do ...; done
sind natürlich überhaupt kein Problem.
(Und ich verwende das auch häufig.)
-- Christian "naddy" Weisgerber naddy(at)mips.inka.de To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Sun 01 Sep 2002 - 14:30:52 CEST