Home
News
Feed
search engine
by
freefind
advanced
cut and paste columns with awk 01-13-2014d1129
2014-08-29
awk '{ print $1" "$3" "$4" "$2 }' table.txt > outputfile.txt -http://www.unix.com/unix-dummies-questions-answers/109235-cut-paste-columns-using-awk.html Alternatively, you may want to just sort the columns in a large data table in excel. Just insert another row of numbers in the manner that you want the columns sorted, and then sort the table based on that row (instead of the usual excel sort which is by a column)
azim58wiki: