Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    duplicate rows

    Help wanted · · · – – – · · ·
    duplicate
    3
    4
    2495
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Νικόλαος Κερασιώτης
      Νικόλαος Κερασιώτης last edited by

      i want to find duplicate rows in a large txt file and save them(not delete them). can you help me ?

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @Νικόλαος Κερασιώτης last edited by

        @Νικόλαος-Κερασιώτης

        Do you need to keep them in their original order, or can they (the duplicate lines) be sorted by the technique that would allow you to copy only them?

        1 Reply Last reply Reply Quote 0
        • Νικόλαος Κερασιώτης
          Νικόλαος Κερασιώτης last edited by

          no it’s not necessary to be in any order

          1 Reply Last reply Reply Quote 0
          • guy038
            guy038 last edited by

            Hello Νικόλαος Κερασιώτης,

            If so, just refer to the post, below :

            https://notepad-plus-plus.org/community/topic/12490/i-want-to-keep-only-unique-lines/2

            This post shows TWO methods :

            • A first one which does not keep the original order of the lines

            • A second one, much longer, but that will keep the original order of the lines

            From what you replied to Scott, I suppose that the cases B) or C), in METHOD 1 section should be convenient to you :-))

            Best Regards

            guy038

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors