I tried to print only odd columns but I could not!
awk '{for (i=1; i<=NF; i++) print $2*i-1}' file > test
but it prints everything in one column!
Would you please help me?
Thank you
I tried to print only odd columns but I could not!
awk '{for (i=1; i<=NF; i++) print $2*i-1}' file > test
but it prints everything in one column!
Would you please help me?
Thank you