Am 2006-03-22 09:43:57, schrieb Andras Lorincz: > ENTRY=$(cat input_file) > > for I in $ENTRY > do > ... > done > > I found a solution for this: > > LINES=$(wc -l input_file) > while [ $LINES -gt 0 ] > do > ENTRY=$(sed -e '1q' input_file) > #do smth > sed -e '2,$w input_file' input_file > LINES=$(wc -l input_file) > done
(cat input_file) | while read LINE ; do echo $LINE done Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]