I have a scipt as follows.
rm -f AngelGoldPrice
for symbol in $(cat AngelGoldHoldings.txt)
grep "$symbol," $tf >> AngelGoldPrice
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?
linux user No.205042