tail-to-head cat $input1 #for $q in $queries# ${q.input2} #end for# > $out_file1