Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Last active April 8, 2016 08:37
Show Gist options
  • Save kurozumi/5140930c7615057a779d828410b59764 to your computer and use it in GitHub Desktop.
Save kurozumi/5140930c7615057a779d828410b59764 to your computer and use it in GitHub Desktop.
【Linuxコマンド】CSVファイルの3列目が1の行だけ抽出する方法
cat list.csv | awk -F, '$3 == 1 {print $0}' > done.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment