Dave Mitchell wrote: ... > ( > while read rpm; do > ... > done > ) < /tmp/file > Or simply just: while read rpm; do ... done </tmp/file Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@xxxxxx Homepage: http://www.crc.dk