I have this awk script that I use to filter genes that are differentially expressed. I have a csv file that was created in R.
#Command to get DE genes awk -
I also had the same problem. Installing gawk on OSX 10.11.2 through brew solved my issue.
gawk
~$ brew install gawk ~$ gawk --version | head -n 1 GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.4-p1, GNU MP 6.1.1) ~$