Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-19-2017, 07:43 PM   #1
Beta Member
 
Join Date: Sep 2017
Location: Gribaltar
Posts: 2
Default How to remove a line from txt file A if that line is present in the txt file B?

I have 2 txt files, file A and file B. Some lines in file A are the same as in file B. I need to run file A "against" file B and delete all lines from file A that are already present in file B.

How can I achieve this?
__________________

karupoiss is offline   Reply With Quote
Old 09-19-2017, 09:45 PM   #2
Beta Member
 
Join Date: Sep 2017
Location: Gribaltar
Posts: 2
Default Re: How to remove a line from txt file A if that line is present in the txt file B?

I found a stupid easy solution. Get TEDNotepad, paste in file B content, wite a line of === or whatever symbol then paste in the content of file A below it. Select all and press Ctrl + Shift + X. The content after the === line is the end result that was needed - unique lines compared to file B.
karupoiss is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0