Last active
January 28, 2020 05:48
-
-
Save NanXiao/cf19d07cc7329b9211fd3b3cf312a5f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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