![]() ![]() Remeber you can select several lines and press tab for tabulating them. Add one tabulator before each of those lines. Choose one file and inspect the lines you want to keep.Optional: (depends on the content that's being compared) Sort both files (it will make the future comparison easier) To do this: Edit => Line operations => Sort Lines Lexicographically Ascending (do it on both files).Typically this works best when comparing group of 'words' and does not work with content that is tabulated (like source code) For bigger files you may prefer using some other tool. but It may not be worth on big files or if the differences for both files are big. It saves some time compared to Control+C, Alt+Tab, Control+V Control+C, Alt+Tab, Control+V. Still you may want to use some dedicated program for comparing or substracting bigger files. user3528679's answer works, except there's one correction in the second step. Select text to operate on Edit->Line Operations->Sort Lines Lexicographically Ascending Edit->Line Operations->Remove Consecutive Duplicate Lines. So a nice improvement! That makes comparing Kilobyte-sized files possible. See olufon answer, it works when the file is ordered. Works with other characters besides words.Then copy the contents of file2 to the end of file1 (after the marker).This is the marker line that separates file1 content from file2. Add - as a footer on file1 (add at least 10 dashes).To do this: Edit => Line operations => Sort Lines Lexicographically Ascending (do it on both files) Recommended: If possible, remove duplicates on both files, specially if the files are big. ![]() To substract two files in notepad++ (file1 - file2) you may follow this procedure: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |