1 2 3 4 5 6 7 8
#!/bin/bash awk 'BEGIN{OFS=FS="\t"} { tmp=$1; $1=$2; $2=tmp; print }'
Log in to post a comment.
Last edit: Duy Dinh 2012-06-04