Why awk script does not work on Mac OS but works on Linux?

后端 未结 2 674
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 14:20

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 -         


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-05 15:06

    I also had the same problem. Installing gawk on OSX 10.11.2 through brew solved my issue.

    ~$ 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)
    ~$
    

提交回复
热议问题