Skip to content

Instantly share code, notes, and snippets.

@arc279
Created May 22, 2017 05:30
Show Gist options
  • Save arc279/b3c33cc1efabbbf0c04d5de516e79cea to your computer and use it in GitHub Desktop.
Save arc279/b3c33cc1efabbbf0c04d5de516e79cea to your computer and use it in GitHub Desktop.
awkでdatetime比較
cat a.tsv | awk -F$'\t' '"2017-05-13 07:50" <= $4 && $4 <= "2017-05-18 01:58"' | sort -k4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment