Hi,
I'm having problems creating an awk script that searches in a file with "FULL" and "FROZEN in the $9 then sends that to a newfile called tapelist, then doing a reading that file to execute a command on all the tapes in the $1 of the newfile, tapelist. I've tried many things and here is the latest...
awk '/FULL/ {print $1, $9} > tapelist'
awk ' ( (getline tape < "tapelist ) > 0 )
cd /directory
./command
'
Please help...
jamdee
I'm having problems creating an awk script that searches in a file with "FULL" and "FROZEN in the $9 then sends that to a newfile called tapelist, then doing a reading that file to execute a command on all the tapes in the $1 of the newfile, tapelist. I've tried many things and here is the latest...
awk '/FULL/ {print $1, $9} > tapelist'
awk ' ( (getline tape < "tapelist ) > 0 )
cd /directory
./command
'
Please help...
jamdee