linux command print only odd columns

Shell
awk '{for(x=1;x<=NF;x++)if(x % 2)printf "%s", $x (x == NF || x == (NF-1)?"\n":" ")}' ahj.txt
Source

Also in Shell: