Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Last active April 8, 2016 08:37
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 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