Era, thanks for replying. I tried for only one entry in the input file; something like this
Code:
....
FILE=$1
fS=$(awk '{print $1}' $FILE)
((eS=fS+1))
echo "<Comp>" >> myxml
...
...
But I am not able to do the same if num entries in the input file in more than 1. Please help.