Skip to content

Instantly share code, notes, and snippets.

@stollcri
Created October 20, 2015 13:47
Show Gist options
  • Save stollcri/6183ea9b29d60d7c0558 to your computer and use it in GitHub Desktop.
Save stollcri/6183ea9b29d60d7c0558 to your computer and use it in GitHub Desktop.
Print lines where the date in column 40 is September of 2015
#!/bin/bash
cat WIDE_TAB_DELIMITED.TXT | awk -F\t '$40 ~ /09\/.+?\/2015/' >> MATCH_COL_40_DATE_SEPT.TXT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment