Created
December 13, 2015 00:31
-
-
Save kuninet/aef372f5f71361ab9d7f to your computer and use it in GitHub Desktop.
CSVのawkサンプル
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
# | |
# CSVから特定の列だけ抜き出す | |
# | |
# | |
BEGIN{ | |
FS = "," # フィールドセパレーターを","へ | |
} | |
{ | |
print $2 "," $3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment