Skip to content

Instantly share code, notes, and snippets.

@akaak
Created February 21, 2014 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akaak/9135304 to your computer and use it in GitHub Desktop.
Save akaak/9135304 to your computer and use it in GitHub Desktop.
Strip or cut columns from a data file
# remove columns from a file
#http://stackoverflow.com/questions/13446255/how-to-remove-the-first-two-columns-in-a-file-using-shell-awk-sed-whatever
cut -d " " -f 3- input_filename > output_filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment