#!/bin/sh

# disable filename globbing

 echo Content-type: text/html
 echo
 BASE=`pwd`
APPLDIR=$BASE/appl
DATADIR=$BASE/data
PATH=$PATH:$BASE/ihd/bin:.
export PATH APPLDIR DATADIR
ihmq pacie h00^$1 h04^ h02^ h03^ | awk -F^ ' {
printf "%s ",substr($2,1,index($2," ")-1)
printf "%s ",substr($3,1,index($3,"  ")-1)
printf "%s\n",substr($4,1,index($4,"  ")-1)
exit
 } ' 
