Comparing two unsorted files using comm.
Hi all,
I want to compare two unsorted files, file1 and file2 by using comm command in one line. So far I have tried - sort file1|comm `sort file2` or such similar pipe options and have failed. Please help. |
There is a bash-specific method:
Code:
comm <(sort file1) <(sort file2) |
Have you looked at named pipes?
Code:
mknod A p |
All times are GMT -5. The time now is 02:56 PM. |