Community
    • Login

    Comparing files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 4 Posters 478 Views
    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.
    • Mario CastroM
      Mario Castro
      last edited by

      Greetings

      I do have real quick questions, hopefully, someone can help me.

      I have two files. Looking like this

      34234
      45435
      43534

      The other one is
      43534
      12354
      98455

      Is there any possibility of finding matches on these two files no matter what the line is? Like for example, it can find a match cause the number on line 7 of the first file equals the number on line 50 in the other file.

      So how to I compare the whole file, not going line per line

      Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUXD Terry RT pnedevP 3 Replies Last reply Reply Quote 0
      • Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUXD
        Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUX
        last edited by Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUX

        yes, but not within notepad++ try google “file comparing free software”

        1 Reply Last reply Reply Quote 0
        • Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUXD
          Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUX @Mario Castro
          last edited by

          @Mario-Castro said in Comparing files:

          Is there any possibility of finding matches on these two files no matter what the line is? Like for example, it can find a match cause the number on line 7 of the first file equals the number on line 50 in the other file.

          So how to I compare the whole file, not going line per line

          or you should try find next occurence for a match, notepad probably can do that

          Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUXD 1 Reply Last reply Reply Quote 0
          • Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUXD
            Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUX @Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUX
            last edited by Dr PC Mac Linux Valenciennes - Bruno DOUTRIAUX

            @Dr-PC-Mac-Linux-Valenciennes-Bruno-DOUTRIAUX search menu then tab search in files

            1 Reply Last reply Reply Quote 0
            • Terry RT
              Terry R @Mario Castro
              last edited by

              @Mario-Castro said in Comparing files:

              So how to I compare the whole file, not going line per line

              It can be done within Notepad++ although it would involve a number of steps. Like combining the 2 files into one, sorting and removing lines which aren’t duplicated. If you needed to know which line and which file each remaining line came from you’d need to add in additional steps to include that information before combining the files.

              So understand all this means the file worked on would need to be a copy of the originals as data is destroyed in the process.

              There may be other applications out there which can do the job easily, but we deal with Notepad++ questions here.

              Terry

              1 Reply Last reply Reply Quote 3
              • pnedevP
                pnedev @Mario Castro
                last edited by

                @Mario-Castro ,

                If you haven’t tried ComparePlus Notepad++ plugin yet it might help you.
                You can use Notepad++ Plugins Admin (from the Plugins menu) to download the plugin version suitable for your Notepad++ version or you could manually install the plugin.
                I won’t go into details here now, just write back if you need help with getting the plugin to work.

                1 Reply Last reply Reply Quote 0
                • Mario CastroM
                  Mario Castro
                  last edited by

                  Thanks :)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors