GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

perl script to create de-normalized output file

   Click here to post similar project

perl script to create de-normalized output file is project number 151696 posted at GetAFreelancer.com. Click here to post your own project.

Status: Closed (Selected Service Provider)
Selected Providers: selected service provider dims
Budget: $30-100
Created: 06/12/2007 at 11:04 EDT
Bidding Ends: 06/17/2007 at 11:04 EDT
Project Creator: sanjushah View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(4 reviews)
Description: I have a pipe delimited flat file which has 1 record per invoice-number. Per invoice records, there's header section, lines section (repeated multiple times - could go as much as 100 times) and the trailer section - something like this:

HA1|HA2|HA3|L1-1|L1-2|L1-3|L1-4|L2-1|L2-2|L2-3|L2-4|T1|T2|T3
HB1|HB2|HB3|L1-1|L1-2|L1-3|L1-4|L2-1|L2-2|L2-3|L2-4|T1|T2|T3

The output file should like this:
HA1|HA2|HA3|L1-1|T1|T2|T3
HA1|HA2|HA3|L1-2|T1|T2|T3
HA1|HA2|HA3|L1-3|T1|T2|T3
HA1|HA2|HA3|L1-4|T1|T2|T3
HA1|HA2|HA3|L2-1|T1|T2|T3
HA1|HA2|HA3|L2-2|T1|T2|T3
HA1|HA2|HA3|L2-3|T1|T2|T3
HA1|HA2|HA3|L2-4|T1|T2|T3
HB1|HB2|HB3|L1-1|T1|T2|T3
HB1|HB2|HB3|L1-2|T1|T2|T3
HB1|HB2|HB3|L1-3|T1|T2|T3
HB1|HB2|HB3|L1-4|T1|T2|T3
HB1|HB2|HB3|L2-1|T1|T2|T3
HB1|HB2|HB3|L2-2|T1|T2|T3
HB1|HB2|HB3|L2-3|T1|T2|T3
HB1|HB2|HA3|L2-4|T1|T2|T3

For someone with Perl Expertise - this should be pretty st forward script.

The script should be well documented and maintainable and needs to run on Linux. Your work should be guaranteed to work as per requirements :)
Report violation
Job Type:
  • Perl/CGI
Database: (None)
Operating system: Linux
Bid count: 11
Average bid: $ 36

 

Related project
 
Nonpublic project #347950 Featured Nonpublic
login to view
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
TakeReal
View PM Post PM
$ 40 1 day 06-12-2007 11:37 EDT 9.95/109.95/109.95/109.95/109.95/109.95/109.95/109.95/109.95/109.95/10
(243 reviews)
I can write this Perl script today. Escrow deposit is required, please.
dims
View PM Post PM
$ 30 1 day 06-12-2007 23:10 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(26 reviews)
Can show demo for you
nuscpe
View PM Post PM
$ 30 1 day 06-12-2007 19:33 EDT 9.70/109.70/109.70/109.70/109.70/109.70/109.70/109.70/109.70/109.70/10
(20 reviews)
I am good at perl. I can do it for you today. Escrow deposit is required. Thanks.
FocusService
View PM Post PM
$ 30 1 day 06-12-2007 18:17 EDT 9.50/109.50/109.50/109.50/109.50/109.50/109.50/109.50/109.50/109.50/10
(2 reviews)
I am a experienced perl programmer. I can do it quickly.Pls check PM.Thanks!
Diamantis
View PM Post PM
$ 50 1 day 06-12-2007 13:51 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
I am a Perl programmer and can easily do such data transformations
idiotkid
View PM Post PM
$ 35 1 day 06-12-2007 13:58 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
sanju, what I get from your posting that you want to remove header and trailer from output and convert every other record line of input text file to couple of linea in the output text file. If this is so, a solution that will run on Linux can be cooked up in around an hour (or lesser) assuming it's straightforward to identify the header and trailer records in input text file. The solution can be easily implemented using either of bash/awk/perl scripting.
gkfabs
View PM Post PM
$ 60 2 days 06-12-2007 11:20 EDT (No Feedback Yet)
Hi I have experience with linux environment and perl script.
AncaU
View PM Post PM
$ 30 2 days 06-12-2007 13:03 EDT (No Feedback Yet)
Hi! Please read PM
katsarov
View PM Post PM
$ 30 1 day 06-12-2007 13:40 EDT (No Feedback Yet)
I have a similar script done. I will need less than a day to modify it.
monemran
View PM Post PM
$ 30 1 day 06-12-2007 17:01 EDT (No Feedback Yet)
i can do it.
jjchan2023
View PM Post PM
$ 30 1 day 06-12-2007 22:15 EDT (No Feedback Yet)
sir i can write a script for you
Bid on This Project

 

[ Outsourcing ] [ Web Development ] [ Freelance ]

What is GetAFreelancer.com? ( Read about the company )

A freelancer is an independent worker, not on salary, hired instead on a project basis. If you never tried to contract work to another part of the world you have your chance today. Sign up free! Our site is global and we have freelancers from India, Romania, Russia, Ukraine, United States, UK and many other parts of the world. Outsourcing is hiring an outside organization to perform services such as information processing and applications development. We provide a safe escrow environment and you don't release the money until project is completed. GetAFreelancer.com is one of the largest sites of its kind. We have earned a good reputation and you can trust us.

Bookmark our homepage to make sure you don't forget about our website next time you need to develop an IT project for yourself or your company. Companies of any size have used our web services. Find freelance programmers, web designers, copywriters and translators. Deposit money and don't purchase until your project is completed.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.