Find Jobs
Hire Freelancers

Simple perl or shell script to sort lists

$30-250 USD

Completed
Posted about 11 years ago

$30-250 USD

Paid on delivery
I need a simple perl or shell script that will compare one text file and output the lines, in this case email addresses, that are not found in the other file. Here is an example: list1: name1atdomaincom name2atdomaincom name3atdomaincom name4atdomaincom list2: name2atdomaincom name3atdomaincom namenotinatlist1com <<-- These are not in list one so the script should output these entries name2notinatlist1com <<-- Currently I can use this command to perform the needed action but it only works if the list entries are under 1000 lines, otherwise an "Argument list too long" error is returned. # egrep -v $(cat list1 | tr '\n' '|' | sed 's/.$//') list2 namenotinatlist1com name2notinatlist1com The operating system this needs to work on will be FreeBSD or Linux with bash shell and Perl 5.8+ Thanks!
Project ID: 4452186

About the project

7 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Bash coder in Linux.
$35 USD in 0 day
4.9 (225 reviews)
6.7
6.7
7 freelancers are bidding on average $35 USD for this job
User Avatar
I'm expert in Perl that's why I'm sure you'll be impressed with my work. See PMB for details.
$33 USD in 1 day
5.0 (314 reviews)
7.0
7.0
User Avatar
I can give you one line script in 30 seconds that does what you need. And here is a free hint. You need DIFFerence between those two lists.
$35 USD in 0 day
5.0 (67 reviews)
5.5
5.5
User Avatar
can deliver either a 1-liner shell-script using a few standard tools, or a very small standalone perl-script.
$35 USD in 0 day
5.0 (5 reviews)
3.2
3.2
User Avatar
I can do it now.
$35 USD in 0 day
5.0 (6 reviews)
2.4
2.4
User Avatar
Hi! I'm interested in your project. Please see details in PMB. Thank you
$35 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I can help.
$35 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Toronto, Canada
5.0
19
Payment method verified
Member since Jan 2, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.