Ukończone

Linux script / bash / python

My customer has a list of proxies looking like this:

IP user pass

1.1.1.1 user user

1.1.1.1 user 123

1.2.3.4 test test

2.2.2.2 xxx test

[url removed, login to view] test 123

100.0.0.1 admin test123

5.5.5.5 test test

5.5.5.5 test 123456

5.5.5.5 admin database

9.9.9.9 test test

9.9.9.9 admin admin

I need a script (for linux) which can parse the text file, and delete all the lines where the IP and the user are the same but the password is different (1.1.1.1 both entries , 5.5.5.5 test test & 5.5.5.5 test 123456 - as you can see it's the same username but a different password - 2 entries out of 3 )

The script should NOT delete the lines where just the IP is the same but the user is different (example : 9.9.9.9 - 2 different users, test and admin)

It should be able to parse big files without being very slow. You can write the script in everything as long as there are not many requirements to install (except java & php). Python is recommended.

Please bid only if:

1. You have your own testing environment so you can test the script before delivering it.

2. You can get the job done ASAP.

3. You accept to give me 30 minutes to test the script after the project is done.

The output FILE should look like this:

1.2.3.4 test test

2.2.2.2 xxx test

[url removed, login to view] test 123

100.0.0.1 admin test123

5.5.5.5 admin database

9.9.9.9 test test

9.9.9.9 admin admin

Umiejętności: Linux, Perl, Python

Zobacz więcej: where can i get python, python look for file, list get python, linux 4.5, get python asap, python to java, bash file, bash 0, write a python script, python java c++, php python, password 123456, Linux script, Linux python, linux bash script, java python, c python java, bash script, java php python, python parse text files

O pracodawcy:
( 5 ocen ) Tucson, United States

Numer ID Projektu: #7324841

Przyznany użytkownikowi:

kaloyan13

Hi, I can do that script in Python for less than 1h. Can start working immediately. Thanks..........

$15 USD w 1 dzień
(97 ocen)
5.7

4 freelancerów złożyło ofertę na kwotę $16 do tego projektu

PerlIsFun

A few small questions though: a) is the input file already sorted? b) is the field-delimiter known to be a single space, or a TAB, or could it be something else too? Thank you.

$15 USD w ciągu 0 dni
(36 Oceny)
5.5
vbel

Hey, I have a large experience with shell script and i'm sure i can do it. Please contact me and lets talk about the project. Thank you !

$30 USD w ciągu 1 dnia
(3 Oceny)
2.5
VadymVV

Hi there! I would like to write script in python. I can begin immediately if you'll deliver me task in 30min, or I'll start in 7-8 hours later because of my timezone.

$15 USD w ciągu 0 dni
(3 Oceny)
2.2
pamelamiletic2

I have over three years of experience in scripting languages and Linux. I am fast in file parsing and resourceful in using regex.

$20 USD w ciągu 0 dni
(0 Oceny)
0.0