Peruttu

Very simple Perl Parser - repost 2

The purpose is to parse two text files, and extract information from them to produce a new text file. The script is run as [url removed, login to view] TextFile1 TextFile2 > [url removed, login to view]

Both files are tab delimited text files. Examples are attached.

The only columns we are interested in from TextFile1 are:

Column 1, which is our “TickerName”.

Column 8, which is either “L” or “S”.

The only columns we are interested in from TextFile2 are:

Column 1: This is again our “TickerName”, but appended with the word “Stock”. If we remove the word “ Stock”, we have the same TickerNames in TextFile1 and TextFile2. However, as can be seen in the example above, TextFile1 can have multiple entries for a TickerName.

The [url removed, login to view] is exactly the same as TextFile1, except it has an additional column/field at the end of each row. This is generated in the following manner. If column 8 from TextFile1 is “S”, then the additional field corresponds to column 6 from TextFile2 for the appropriate ticker. For example, from the example above the first ticker is “ANV”, which has “S” in column 8. Therefore, we are interested in column 6 from TextFile2, which is “19.747”.

If Column 8 is “L”, then the additional field corresponds to column 7 for the appropriate ticker. For example, from the example above, the third ticker is “ARIA”, which has “L” in column 8. Therefore, we are interested in column 7 for this ticker from TextFile2, which is “21.42”.

The example above will therefore produce an output identical to the "[url removed, login to view]" example.

The script will produce error messages, for example:

- If the ticker is not found in TextFile2

- If the “L/S” field does not contain and “L” or “S”

Taidot: Perl

Näytä lisää: simple stock ticker, perl parser, tab delimited text, extract text perl, extract word text file, perl script parse text file, tab delimited txt, 747, perl output, perl parse, parser perl, simple ticker, simple txt parser, tab delimited txt file, script ticker, parse word perl, script parser, information extract attached file, parse word, perl text extract field, stock ticker script, simple perl parser, perl tab delimited, perl script extract text, perl parse word

About the Employer:
( 23 reviews ) Oxford, United Kingdom

Projektin tunnus: #4284021

32 freelanceria on tarjonnut keskimäärin 46 $ tähän työhön

gangabass

This is really easy for me. See PMB for details.

30 $ USD 0 päivässä
(130 arvostelua)
5.8
idleswell

Hello, Your specifications are very clear. I will create a Perl script to parse your data from the 2 files and output the third with the additional field appended. A IDLER

36 $ USD 2 päivässä
(98 arvostelua)
5.6
Cydex

As per profile: experienced Perl developer. More information in message.

125 $ USD 7 päivässä
(10 arvostelua)
5.2
SigmaVisual

I can help in your project, please check PMB and our ratings/reviews to get idea of our experience. Please let me know if you have any queries.

199 $ USD 5 päivässä
(13 arvostelua)
5.3
cmax4u

Greetings, Your description is pretty clear. Can provide quality fast perl parser. Regards Max

30 $ USD 1 päivässä
(13 arvostelua)
4.6
hainraja

Quite simple parsing and a better reg-ex will solve this problem efficiently without errors. Working with Perl for 7 years!!

30 $ USD 3 päivässä
(9 arvostelua)
3.9
techvolcano

We can do this. See our reviews.

30 $ USD 1 päivässä
(13 arvostelua)
3.7
linuxsupport

I can do it well

50 $ USD 1 päivässä
(7 arvostelua)
3.5
hddh

I can do it.

50 $ USD 1 päivässä
(3 arvostelua)
3.4
igupta005

I can do this quickly. Check pm.

30 $ USD 0 päivässä
(2 arvostelua)
3.2
seadz

I can do it for you.

30 $ USD 1 päivässä
(1 arvostelu)
1.9
lokeshk9936

Please see PM

45 $ USD 1 päivässä
(2 arvostelua)
1.8
jacobpostman

Spent the last 30 minutes writing your TextParser with some additional error checking and easily modified code with detailed instructions depending on if want to optimize for large/small data sets, process partial file Lisää

30 $ USD 0 päivässä
(1 arvostelu)
1.7
TMayer

Hi please see PMB

50 $ USD 2 päivässä
(1 arvostelu)
1.1
robertocasalegno

Project itself is easy. I am looking for perfect feedback from employers, so I would start right now, and deliver my best code.

80 $ USD 1 päivässä
(1 arvostelu)
1.1
lepoitr

:) i am very interested in that "job"

30 $ USD 0 päivässä
(1 arvostelu)
1.0
sonntagit

Hello, as an experienced Perl developer (over 12 years of professional software development with Perl), I can create such a script for you. You will get your Perl script very quick and working well. Please contact me i Lisää

88 $ USD 1 päivässä
(1 arvostelu)
0.8
recn

i can do it with perl script

30 $ USD 1 päivässä
(0 arvostelua)
0.0
alphamaster

Demo Perl script code working well is sent to you. Please check PMB.

30 $ USD 1 päivässä
(0 arvostelua)
0.0
ShawarmaMan

Hi, I've already created this script for you. Please consider my bid. Thanks.

30 $ USD 0 päivässä
(0 arvostelua)
0.0