I need to compare two files (oldfile1 & newfile). Need to ignore the values which are present in both files. At the same time, i need to get only records in new file.
Tried using Join -v1 -v2 oldfile1 newfile (suspect it has not worked as expected).
You could also use comm command if your files were sorted or you could do something like this to sort them first. Note your output would also be sorted.