# comm -12 /tmp/src /tmp/txt | wc -l 10338 # join /tmp/src /tmp/txt | wc -l 10355 Both the files are single columns of alphanumeric strings and sort-ed. Shouldn\'t the开发者_运维知识库y be the same?
I have one master file with a list of unique IDs and want to align three files with subsets of IDs alongside this, ending up with:
Given this two files: $ cat A.txt$ cat B.txt 311 51 112 23 42 I want to find lines number that is in A \"BUT NOT\" in B.