So, currently i have created a code to do this as shown below. This code works and does what it is supposed to do after I echo the variables:
a=`awk \'NR==2 {pri
awk 'BEGIN {f=1} {print $f; f=f+1}' infile > outfile