Literally the reason AWK was created
cat somefile.txt | awk '{ print $1 "\t" $2 }'
On mac I pipe to `pbcopy`. Saves me several minutes each time. cat somefile.txt | while IFS=" " read one two; do echo -e "$one\t$two"; done
IME the pattern matching is where awk really shines.cut -d’ ‘ -f 1,2 < some file.txt