produ=/tmp/produ
ihdm planc h00: h03: h04: h05: |
awk -F: ' BEGIN {
print " ct = new Array()"
}
{
 printf "ct[\""$1"\"]=\""
for (i=2;i<NF;i++) printf "%s|",trail($i)
print "\""
}
function trail(x) { while (substr(x,length(x))==" ") x=substr(x,1,length(x)-1); return(x)
 } ' > ../js/mplanc.js
