Loading ...
Sorry, an error occurred while loading the content.

24198Re: [Clip] Find Common Words Among Two Documents

Expand Messages
  • Robert Bull
    Dec 1, 2013
      On Sunday, December 1, 2013, 5:25:50 AM, Ray Shapp wrote:

      RS> I want to find any of the words in this document that also occur
      RS> in a second document

      Take a look at a port of the Unix utility "comm," e.g from the
      UnxUtils at http://sourceforge.net/projects/unxutils/ You do have to
      sort the files first. Then:

      Usage: comm [OPTION]... LEFT_FILE RIGHT_FILE
      Compare sorted files LEFT_FILE and RIGHT_FILE line by line.

      -1 suppress lines unique to left file
      -2 suppress lines unique to right file
      -3 suppress lines unique to both files
      --help display this help and exit
      --version output version information and exit

      You put sort and comm in a batch file and wrap them in a clip.


      Robert Bull
    • Show all 12 messages in this topic