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
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
2 matches
Mail list logo