Find Jobs
Hire Freelancers

Perl program

$10-30 AUD

Cancelled
Posted over 9 years ago

$10-30 AUD

Paid on delivery
Write a Perl script [login to view URL] to implement the Unix paste command. Your script will not be given any options but it should assume the -s option has been specified. In other words your script should behave the same as paste -s. Your script should match the behaviour of /usr/bin/paste exactly. It can be tricky getting the white space right so dryrun tests 1-4 ignore white space but dryrun tests 5-8 check white space. If you are passing tests 1-4 and failing tests 5-8 you have the white space wrong. For example: %cat /home/cs2041/public_html/lab/perl/paste/file1 file1_line1 %cat /home/cs2041/public_html/lab/perl/paste/file2 file2_line1 file2_line2 %cat /home/cs2041/public_html/lab/perl/paste/file3 file3_line1 file3_line2 file3_line3 file3_line4 %cat /home/cs2041/public_html/lab/perl/paste/file4 file4_line1 file4_line2 %/usr/bin/paste -s /home/cs2041/public_html/lab/perl/paste/file? file1_line1 file2_line1 file2_line2 file3_line1 file3_line2 file3_line3 file3_line4 file4_line1 file4_line2 %./[login to view URL] /home/cs2041/public_html/lab/perl/paste/file? file1_line1 file2_line1 file2_line2 file3_line1 file3_line2 file3_line3 file3_line4 file4_line1 file4_line2 Your script must match the output of paste -s exactly (byte-for-byte identical). For example: %/usr/bin/paste -s /home/cs2041/public_html/lab/perl/paste/data? >output1 %./[login to view URL] /home/cs2041/public_html/lab/perl/paste/data? >output2 %diff output1 output2 %Your next task is to automate the testing of [login to view URL] using diff. You should write a short Shell script, [login to view URL], which runs a test like the one above, for example, it might produce output like this: %./[login to view URL] /home/cs2041/public_html/lab/perl/paste/data? Running /usr/bin/paste -s /home/cs2041/public_html/lab/perl/paste/data1 /home/cs2041/public_html/lab/perl/paste/data2 /home/cs2041/public_html/lab/perl/paste/data3 /home/cs2041/public_html/lab/perl/paste/data4 Running ./[login to view URL] /home/cs2041/public_html/lab/perl/paste/data1 /home/cs2041/public_html/lab/perl/paste/data2 /home/cs2041/public_html/lab/perl/paste/data3 /home/cs2041/public_html/lab/perl/paste/data4 Running diff on the output Test succeeded - output of ./[login to view URL] matched /usr/bin/paste %
Project ID: 6402269

About the project

6 proposals
Remote project
Active 10 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
6 freelancers are bidding on average $35 AUD for this job
User Avatar
Hello. More 20 years mathematics and programming experience. Regards. -------------------------------------------------------------------------------------------------------------------------------------------------
$30 AUD in 1 day
5.0 (12 reviews)
3.9
3.9
User Avatar
Hi.. I am Nikhil. I have working experience of 3+ year in C, C++ and Perl Script Development. Please start conversation for further details and I will update you every day so that you get to know about each phase of your application. ** Money does not matter for me.. I will reduce amount for project If you want.. Let start conversation so you get to know about my skills and ability. Please give me a chance to do work with you and I am promising you, you will work with me again and again. I will write code with comments so you will understand it easily and I will also help you to solve any further query.. If you need any help after project then I will be here. I will give you my 100% efforts and do hard work for complete it because. I do Only one project at a time. Please give a chance to build this relationship and work with you. I am waiting for your positive response. Thank you & Best Regards. Nikhil
$25 AUD in 1 day
4.9 (9 reviews)
3.5
3.5
User Avatar
Have 3+ years experience working on Perl. I can do this.................................................................
$30 AUD in 1 day
5.0 (5 reviews)
2.3
2.3

About the client

Flag of AUSTRALIA
Sydney, Australia
0.0
0
Payment method verified
Member since Sep 2, 2014

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.