Here is a modeified version of the awkscript.  I have made the loop
variable index_? and saved the users index in forindex.  I have also
removed the extra $4 and junk fields in the queryt processing (/^%/
lines).  Now, to the question
	query	u_cpy	no_zones	nokey
reply
	answer	u_cpy	no_zones	nokey	3
or as you suggested "1 1 1 1 3"
The reason why the awkscript didn't work was because originally ife_bh
was a link to awk, not a shell script which ran awk and then runs the
resulting /tmp/bm_outputXXXX.  Sorry about that.
