Donald Mackay's Collected Hints and tips
manu-forti.jpg
 

Donald L Mackay
Hints and Tips

  clan-lyon.gif

To compare 2 files to find lines that are the same.

  1. Use unix utility "comm" (WinXs on windows)
  2. Ensure both files are sorted alphabetically
  3. Use options 1 and 2 to suppress output from files 1 and 2
  4. Output will be only lines common to both files




LAST UPDATED: 02 February 2018 (Bluetooth File Transfer)