Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Which program/script can remove a bulk list of names in a list?

Status
Not open for further replies.
T

tekz999

Guest
Lets say I have list 1, that has the following names:
1.com
2.com
3.com
4.com
5.com

and I enter a list of names to be removed, lets say I enter these:
1.com
2.com

Then the program will remove 1.com and 2.com, then list 1 will now only have:
3.com
4.com
5.com


Which program/script can do bulk remove specific names like this?
 

ColdGin

Level 8
Legacy Platinum Member
Joined
May 30, 2006
Messages
1,533
Reaction score
2
Interesting question. To add another one...there is a way/software to make a list of words from a text?
 
T

tekz999

Guest
ColdGin, I think you can bulk replace "space" with ".com", then use any domain list cleaner , and clean the list. Bingo!
 

Dale Hubbard

Formerly 'aZooZa'
Legacy Exclusive Member
Joined
Jan 24, 2003
Messages
5,578
Reaction score
91
Lets say I have list 1, that has the following names:
1.com
2.com
3.com
4.com
5.com

and I enter a list of names to be removed, lets say I enter these:
1.com
2.com

Then the program will remove 1.com and 2.com, then list 1 will now only have:
3.com
4.com
5.com


Which program/script can do bulk remove specific names like this?
Install Cygwin Linux on your Windows machine from www.cygwin.com

Then you can use a handy one-liner on the command line:

comm -1 -3 file1 file2 >file3

file3 will contain the difference.

More on the 'comm' utility here:

http://www.computerhope.com/unix/ucomm.htm

Interesting question. To add another one...there is a way/software to make a list of words from a text?
If you want to make a list of domains out of plain words, then a good text editor should do it, like www.editplus.com.

Or, as mentioned above, get Cygwin and use another one-liner:

awk '{print$1".com"}' infile >outfile
 
T

tekz999

Guest
aZ, is there any smaller script/program? coz it appears I am downloading and installing a monster, just for this small task ;P
 

Dale Hubbard

Formerly 'aZooZa'
Legacy Exclusive Member
Joined
Jan 24, 2003
Messages
5,578
Reaction score
91
aZ, is there any smaller script/program? coz it appears I am downloading and installing a monster, just for this small task ;P
Yes it's a quirky installation interface. Just download the bash shell and drill down to include awk, grep and comm if they're not already in the package.

In fact, you should really download it all but you can leave out the X stuff which makes it a LOT smaller.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 2) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Premium Members

Upcoming events

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom