I have a scipt as follows. #!/bin/bash cd /home/lvgandhi/stock tf=modbhav rm -f AngelGoldPrice for symbol in $(cat AngelGoldHoldings.txt) do grep "$symbol," $tf >> AngelGoldPrice done in the forloop if I put echo $symbol, i get all the lines of file AngelGoldHoldings.txt. Each line in this file has a word without space all letters. modbhav dfile exists in /home/lvgandhi/stock. It contains lines having symbol and other parameters in addition to other lines. But I get empty file AngelGoldPrice. Where am I going wrong? -- L.V.Gandhi http://lvgandhi.tripod.com/ linux user No.205042
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]