Random and unnecessary!
this is better.. get rid of tmp.txt awk 'FNR==NR{map[$1]=$2;next}{for (i = 1; i <= NF; i++) print map[$i];print ("\n")}' index.txt 13Dec_group_PM_cliques.txt.txt | awk '{ printf "%s ", $0 }' | awk '{gsub(/ /,"\n")}; 1' > 13Dec_group_PM_cliques_status.txt
Post a Comment
1 comment:
this is better.. get rid of tmp.txt
awk 'FNR==NR{map[$1]=$2;next}{for (i = 1; i <= NF; i++) print map[$i];print ("\n")}' index.txt 13Dec_group_PM_cliques.txt.txt | awk '{ printf "%s ", $0 }' | awk '{gsub(/ /,"\n")}; 1' > 13Dec_group_PM_cliques_status.txt
Post a Comment