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

前端 未结 4 1184
长情又很酷
长情又很酷 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:37

    You can try to use one by one command

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

提交回复
热议问题