Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version


Unless the data is already in an ODT or otherwise requires LibreOffice, I would go old-school and use the command line.

(On an Ubuntu system -- might require tweaks for OSX or other *nixes. On Windows, install Cygwin or something)

  • Put your lists in two different files a.txt and b.txt
  • Run this command:

    cat a.txt a.txt b.txt | sort | uniq -u

The "uniq- u" invocation will remove all duplicate lines. We include the "A" list twice to make sure that we remove all of those items (even items that don't appear in list "B").