BEGIN{i=0} {file[i]=$1;i++} END{ {for (k=0;k " > dat} }} }