I want to compare one file with other files in the same directory.file1.txt contains:move 34#123#    get 11#278    put 33#29#567#23file1.txt should compare with files 1.txt and 2.txt.1.txt contains:move 11    put 34    run 132.txt contains:get 14    move 66I need the results to be like this:move 2    get 1    put 1How can I accomplish this?
Compare first column in different files
text processing;awk;grep;join