https://twiki.grid.iu.edu/bin/view/SoftwareTools/CommonTestFormat

BEGIN {OFS = "\n"}
NR == 1 {for (i = 1; i <=NF; i++)
            tag[i]=$i
         print "<" node "XML>"}
NR != 1 {print "   <" node ">"
         for (i = 1; i <= NF; i++)
            print "      <" tag[i] ">" $i ""
         print "   "}
END {print ""}

-- MarcoMambelli - 09 Jul 2010
Topic revision: r1 - 09 Jul 2010, MarcoMambelli
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback