“syntax error near unexpected token `('” error with process substitution

前端 未结 4 1182
长情又很酷
长情又很酷 2021-01-07 10:54

I get a problem when executing this command:

sudo /usr/bin/comm -13 < (sort test.tsv) < (sort test_2.tsv)


        
4条回答
  •  有刺的猬
    2021-01-07 11:27

    Try using sudo:

    • sudo sort test.tsv > text1.tsv
    • sudo sort test2.tsv > text2.tsv
    • sudo comm -13 text1.tsv text2.tsv

提交回复
热议问题