The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: help xml
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 10-07-2008
uwork72 uwork72 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 32
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.