Skip to content

Instantly share code, notes, and snippets.

@NanXiao
Last active January 28, 2020 05:48
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 NanXiao/cf19d07cc7329b9211fd3b3cf312a5f2 to your computer and use it in GitHub Desktop.
Save NanXiao/cf19d07cc7329b9211fd3b3cf312a5f2 to your computer and use it in GitHub Desktop.
#!/usr/bin/awk -f
function remove_quotes(s) {
return substr(s, 2, length(s) - 2)
}
BEGIN {FS = ","}
{printf "%s,%s,%s,%s\n", remove_quotes($4), remove_quotes($5), remove_quotes($6), remove_quotes($7)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment