script doubt

2008-03-27 Thread L . V . Gandhi
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

Re: script doubt

2008-03-27 Thread Ken Irving
On Fri, Mar 28, 2008 at 08:11:37AM +0530, L.V.Gandhi wrote: 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