8 Oct
2010
8 Oct
'10
10:16
Am Freitag, 8. Oktober 2010 11:39:35 schrieb Thomas Moritz:
Am Freitag, 8. Oktober 2010 07:44:43 schrieb Thomas Moritz:
Bevor David wieder was zu meckern hat... :-) Den FIFO erzeuge ich jetzt aus Sicherheitsgruenden mit mktemp. #!/bin/sh myfifo=$(mktemp myfifo.XXXXXX) rm -f $myfifo mkfifo $myfifo trap "rm -f $myfifo" HUP INT TERM EXIT x=0 cat name.txt > $myfifo & while read name; do x=`expr $x + 1` echo "$name" done <$myfifo echo "Var x Ausserhalb von while= $x" Nun muss ich aber erstmal los ... MfG Th. Moritz -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org