ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

Cracked.to | Best Forum Around | Free Premium Accounts




 114

Need help ! [ Removing Shared Lines Between 2 Text ]

by Audacity - 2 weeks ago
This post is by a banned member (Audacity) - Unhide
Audacity  
Supreme
150
Rep
700
Likes
Posts: 304
Threads: 161
Joined: Apr 2020
Vouches: 4
Credits: 150
50 ReputationSupremePremiumPremium
(This post was last modified: 2 weeks ago by Audacity. Edited 1 time in total.)
Hello,

So the thing is :
I have ( 1 ) Text containing :
A
B
C
D

The other Text ( 2 ) contains those :
Z
K
C
A

I need a way to mix those text and removing the shared lines , which in this case are : A , C

If anyone can help, I'd appreciate it alot ! Thanks Pepelove

Edit : Those Texts contains 1Mil Lines +
[Image: Untitled-2.gif]

[Image: Untitled-1.gif]

Join my Discord for Giveaway/Free Drops : https://discord.gg/V8PQj2e


 
This post is by a banned member (snazzy) - Unhide
snazzy  
Premium Member
144
Rep
424
Likes
Posts: 236
Threads: 144
Joined: Jul 2020
Vouches:
Credits: 1.082.1
Leakgod50 ReputationPremiumPremiumTwo Factor Authentication
#2
https://delim.co/ This is a cool site
This post is by a banned member (PlebMulti) - Unhide
PlebMulti  
Heaven
754
Rep
10.090
Likes
Posts: 1.764
Threads: 781
Joined: Dec 2018
Vouches: 27
Credits: 816
Two Factor AuthenticationHealth1000 Posts500 ThreadsChristmas GiftPumpkinConfig MasterThe Holy BitcoinAddictedCredit Card50 Reputation300 ReputationSilver CoinLeakgodPremiumInfinitySupremeTriple Upgrade
#3
can be done in python run while loop inside another while loop
read line by line and check if matches
write from 1st file
if matches skip, if no match then write from 2nd file


Click Here for HQ Nudes
Send BTC here - 1AjykLsjqczxaQWxpeK4idSeutF21561hq

Heaven
Buy Signature Space- Click Here

I am not liable for any off site trade if you don't confirm.
This post is by a banned member (Audacity) - Unhide
Audacity  
Supreme
150
Rep
700
Likes
Posts: 304
Threads: 161
Joined: Apr 2020
Vouches: 4
Credits: 150
50 ReputationSupremePremiumPremium
#4
2 weeks agoR4NdUMCuMDuM34 Wrote: Show More
can be done in python run while loop inside another while loop
read line by line and check if matches
write from 1st file
if matches skip, if no match then write from 2nd file
Thank you for answering, but I have no experience nor an idea on how to do this.  [Image: feelssadman.png]
[Image: Untitled-2.gif]

[Image: Untitled-1.gif]

Join my Discord for Giveaway/Free Drops : https://discord.gg/V8PQj2e


 
This post is by a banned member (PlebMulti) - Unhide
PlebMulti  
Heaven
754
Rep
10.090
Likes
Posts: 1.764
Threads: 781
Joined: Dec 2018
Vouches: 27
Credits: 816
Two Factor AuthenticationHealth1000 Posts500 ThreadsChristmas GiftPumpkinConfig MasterThe Holy BitcoinAddictedCredit Card50 Reputation300 ReputationSilver CoinLeakgodPremiumInfinitySupremeTriple Upgrade
#5
simply speaking cant the 2 files in question first be merged and then run script to remove duplicates, that would be much easier


Click Here for HQ Nudes
Send BTC here - 1AjykLsjqczxaQWxpeK4idSeutF21561hq

Heaven
Buy Signature Space- Click Here

I am not liable for any off site trade if you don't confirm.
This post is by a banned member (Ulysses) - Unhide
Ulysses  
Staff
404
Rep
3.553
Likes
Posts: 4.011
Threads: 740
Joined: Oct 2019
Vouches: 9
Credits: 10.150.31
Member UpgradeLeakgodCredit Card500 ThreadsCredit Card1000 PostsCredit CardPremiumCredit Card300 ReputationCredit CardAddictedCredit Card50 ReputationCredit CardValuable RefCredit CardMember UpgradeChristmas GiftMember Upgrade
#6
Paste the first text into EmEditor, write an unique delimiter, paste the second text, remove duplicates, go back to your delimiter and copy everything after it.
This post is by a banned member (logorkill) - Unhide
logorkill  
Contributor
60
Rep
1.113
Likes
Posts: 288
Threads: 100
Joined: Jul 2019
Vouches: 3
Credits: 0
Premium50 ReputationTwo Factor AuthenticationLeakgod
#7
(This post was last modified: 2 weeks ago by logorkill.)
2 weeks agoAudacity Wrote: Show More
Hello,

So the thing is :
I have ( 1 ) Text containing :
A
B
C
D

The other Text ( 2 ) contains those :
Z
K
C
A

I need a way to mix those text and removing the shared lines , which in this case are : A , C

If anyone can help, I'd appreciate it alot ! Thanks Pepelove

Edit : Those Texts contains 1Mil Lines +

To be honest the easiest way is to use notepad++ with TextFX extension, it will sort from 0-Z and will remove duplicates/blanks

or just use this site : http://iptvhit.com/comboseditor
IM ON ROAD TO GODLIKE, IF YOU LIKE MY CONTENT LIKE AND +REP ME <3
[Image: source.gif]

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)