Skip to content

Instantly share code, notes, and snippets.

@dbuscombe-usgs
Last active December 20, 2015 06:19
Show Gist options
  • Save dbuscombe-usgs/6085300 to your computer and use it in GitHub Desktop.
Save dbuscombe-usgs/6085300 to your computer and use it in GitHub Desktop.
Trim file into 2 columns separated by a tab
awk '{print $(NF-2),"\t",$(NF-1)}' outfile > outfile2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment