Skip to content

Instantly share code, notes, and snippets.

@crccheck
Created August 17, 2021 19:44
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 crccheck/4123469abb6cdaa810aa4b9606a41421 to your computer and use it in GitHub Desktop.
Save crccheck/4123469abb6cdaa810aa4b9606a41421 to your computer and use it in GitHub Desktop.
CLI fu

Grab a column out of a CSV with header, surround with quotes, and put commas between

echo $(csvcut -c UUID path_to.csv | tail -n +2 | awk '{ print "\""$0"\"" }') | tr ' ' ,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment