./pwb docvt

./ihd/bin/ihmq cliok H00"^" H03"^" D00"^" D01"^" |
awk -F^ ' BEGIN {
print "cl=new Array()"
print "np=new Array()"

}
x[$1]=="" {

 print "cl[\""trail($1)"\"]=\""trail($2)"\""
 x[$1]=1
}
$3+0 { print "np[\""trail($1)$3"\"]=\""trail($4)"\"" } 
function trail(x) { while (substr(x,length(x))==" ") x=substr(x,1,length(x)-1); return(x)
 } ' - > ../js/cli.js


