Skip to content

Instantly share code, notes, and snippets.

@chrishokamp
Created October 15, 2013 15:53
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 chrishokamp/6993785 to your computer and use it in GitHub Desktop.
Save chrishokamp/6993785 to your computer and use it in GitHub Desktop.
simple awk to cut out some columns from a .csv
awk 'BEGIN{OFS=FS=","}
{print $2, $5 }
' "file.csv" > output.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment