Find Jobs
Hire Freelancers

Small Perl script to extract a chunk of text.

$15-25 USD / hour

In Progress
Posted about 6 years ago

$15-25 USD / hour

I have been using the Perl line: perl -e 'while (<>){print if (/^START/../^END/);}' [login to view URL] to extract a chuck of text in between START and END in a text file and write it to standard output. I would like to improve on this a bit and write a script that would write TWO files -- one with the extracted lines and one that will be the original file MINUS the extracted line. The command line should then take 3 files as in: extract -orig [login to view URL] -new [login to view URL] --extracted [login to view URL] where [login to view URL] will be the same as the original minus the extracted lines and [login to view URL] will contain the extracted lines (in between START and END). Test file is attached.
Project ID: 16359756

About the project

1 proposal
Remote project
Active 6 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
hi, yes, I could make this extract stuff in a hour (dummy placeholder to enter at least 100 characters)
$25 USD in 40 days
5.0 (6 reviews)
4.0
4.0

About the client

Flag of UNITED STATES
Oakland, United States
5.0
66
Payment method verified
Member since Jul 3, 2012

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.