Merging data from col 3 to col2 with awk or sed

view full story

http://www.unix.com – Dear Friends, I have a file in which lists State and Phone numbers. Does anybody have a solution in which to take the data from col3 and place it on col2? Code: AK      2988421640      9077467107 AK      2998266711      2069239034 AK      2983804242      2069239034 AK      2960407849 AK      2953635689 AK      3001604175 AK      2931547348 AK      2938204541 Ideally the desired output would look like below. The position of (HowTos)