for i in `cat /tmp/i386.log`; do if [ -s ../../SL/$i ] ; then echo "Already have $i"; else echo "do not have $i" ; if [ -s /mnt/src/scientific/5rolling/i386/SL/$i ] ; then echo "have it in i386 $i"; ln /mnt/src/scientific/5rolling/i386/SL/$i . else echo "do not have it anywhere $i"; fi fi done