1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Zennoposter: comparing two text files

Discussion in 'Black Hat SEO Tools' started by dannyduberstein, Jul 2, 2012.

  1. dannyduberstein

    dannyduberstein Junior Member

    Joined:
    Nov 1, 2011
    Messages:
    189
    Likes Received:
    105
    i've been using zennoposter for awhile now but for some reason i really can't put together an efficient way of comparing two text files to each other and taking out the duplicates in one of the text files. i've got one method down but it takes way to long with long lists, after i compare the two files i'm left with a list full of spaces that i then have filter of any empty spaces.

    I know there has to be an easier way and if you know one i'd love to hear it. thanks.
     
  2. dodod

    dodod Newbie

    Joined:
    Dec 29, 2011
    Messages:
    17
    Likes Received:
    30
    1. loop through text1.txt getting the line 0 from text1.txt with remove option until text1.txt exists
    2. regexp match what you got from step 1 with text2.txt
    3. if the result is longer than 0 then write out the line to a unique-in-text1.txt

    Is this what you are doing?
    Anyway, I have not tried, but theoretically you could use Javascript to do this, I guess