Skip to content

Instantly share code, notes, and snippets.

@chrishokamp
Created October 15, 2013 15:53
Show Gist options
  • 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