[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Script help



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 crc dk Homepage: http://www.crc.dk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]