Skip to content

Instantly share code, notes, and snippets.

@fragrusti
Created July 11, 2018 13:28
Show Gist options
  • Select an option

  • Save fragrusti/96a6ac6c5aee12e72e6be0e7f4a67c35 to your computer and use it in GitHub Desktop.

Select an option

Save fragrusti/96a6ac6c5aee12e72e6be0e7f4a67c35 to your computer and use it in GitHub Desktop.
[Split CSV file per row with awk] Split CSV file per row with awk from bash #bash #awk #csv #split
awk -F'\t' '{print $2 > $1};close($1)' foobar.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment