![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 20,984
|
How do you do this?
I have 2 text files on a windows machine.
Lets call the first one "A" Lets call the second one "B" A is just a list of usernames that dont work B is a master list of usernames I need to write a new file, lets call it "C" C needs to be a list of usernames that do work So, if a username in "A" matches a username in "B", remove it Output the good list to "C" Complicated way to explain a simple process. Anybody know an app that does it?
__________________
Get your booster! It's safe ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
On a *nix machine (linux/mac) you could use COMM
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
( ͡ʘ╭͜ʖ╮͡ʘ)
Industry Role:
Join Date: Mar 2004
Posts: 20,007
|
I am pretty sure UltraEdit can be configured to do this.
EDIT: http://www.ultraedit.com/downloads/u..._download.html Fully functional trial download. Give it a shot |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
If you can copy both (sorted) files to a server and can use the command line, this should give you the info you want.
comm -13 broken.txt master.txt > working.txt if you need to sort the files on the server side do this first sort broken.txt -o broken.txt sort master.txt -o master.txt
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 20,984
|
Quote:
__________________
Get your booster! It's safe ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Windows equivalent commands according to this are COMP and FC. Maybe that'll help.
http://ss64.com/bash/comm.html
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 20,984
|
Quote:
__________________
Get your booster! It's safe ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 20,984
|
Quote:
Cause now its like, they are almost all bad accounts. Jesus christ half my traffic died.
__________________
Get your booster! It's safe ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
findstr /G:A.txt /V B.txt > clean.txt
try that. (untested....) edit: tested |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Quote:
broken.txt (sorted) ------------ brujah master.txt (sorted) ------------- brujah edgar mrpheer comm -13 broken.txt master.txt: edgar mrpheer
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 20,984
|
Hmmm maybe its something else then
anyway, the list is smaller so thats good
__________________
Get your booster! It's safe ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
import in excel and sort
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: US
Posts: 5,326
|
In UltraEdit.
Open both files File>Sort>Advanced Sort Options From the Dialog tick Merge Sort Results tick Remove Duplicates That should do it.
__________________
. . Arguing with a troll is a lot like wrestling in the mud with a pig, after a couple of hours you realize the pig likes it. |
![]() |
![]() ![]() ![]() ![]() ![]() |