Syntax error near unexpected token `('

I have 2 files like a.txt and b.txt and the content is as below

cat a.txt

810750125 117780 /BSCSQAT4A/bscsqat4a/lib/jar/wclt_common.jar
1803152428 13300 /BSCSQAT4A/bscsqat4a/lib/jar/WFMSSupportTool.jar
2663502779 67049 /BSCSQAT4A/bscsqat4a/lib/jar/wma.jar
687942896 665272 /BSCSQAT4A/bscsqat4a/lib/jar/wms.jar
3008319163 112859 /BSCSQAT4A/bscsqat4a/lib/jar/wsi.jar
519899054 23380 /BSCSQAT4A/bscsqat4a/lib/jar/xmlrpcsim.jar
cat b.txt 

3687886461 85113 /BSCSQAT_14/bscsqat3/lib/jar/soi.jar
2406203241 120149 /BSCSQAT_14/bscsqat3/lib/jar/soitool.jar
1673308243 79025 /BSCSQAT_14/bscsqat3/lib/jar/SOPSnmpDA.jar
729580466 251070 /BSCSQAT_14/bscsqat3/lib/jar/SOPStation.jar
4224805784 422225 /BSCSQAT_14/bscsqat3/lib/jar/stip.jar
1538233801 70571 /BSCSQAT_14/bscsqat3/lib/jar/UDRlibJNI.jar
810750125 117780 /BSCSQAT_14/bscsqat3/lib/jar/wclt_common.jar

I am using below command to get the difference after sorting both the files,

join -v 2 < (sort a.txt) < (sort b.txt)

but i am getting syntax error near unexpected token `('

Please help

Hello ranabhavish,

Not sure what you are trying to do here but from error vice could you please try following commands(removing the space between < and ( ).

join -v 2 <(sort a.txt) <(sort b.txt)

Thanks,
R. Singh