Command line program to Read file, search for keywords, and then output string to another file

Ολοκληρωμένο Αναρτήθηκε Πριν 6 χρόνια Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

I need a programmer to write a simple program that does the following for me:

1) Runs from a DOS Command line prompt as a .bat or .exe file (eg. [login to view URL])

2) I will pass one variable - the file that the program will read:

eg [login to view URL] /C:\temp\[login to view URL]

3) The program will then open this file and search it to check if either of the following 2 keyword combinations can be found on any one line in the file:

- "Buy" and "ABCD"

- "Bought" and "ABCD"

Only one of these combinations will ever be present, not both. They keywords will be found on the same line in the file being read from, but other words may be in between, for example "Buy the real ABCD"

4) The line containing ABCD in the source file will always look as follows:

ABCD xx/yy $zzz NNNN

xx is variable integer from 1 to 12

yy is a variable integer from 1 to 31

zzz is a variable integer greater than 99

NNNN will either be the word Dogs or the word Cats

5) So, if the program finds one of the keyword combinations in the the file then it must read from the first line containing both keywords and write to an output file (eg [login to view URL]) one string in the following format:

ABCD17xxyyN00zzz000

If xx is 1 to 9 then it must be padded with a leading 0

If xx is 10 to 12 then it must be written as is

If yy is 1 to 9 then it must be padded with a leading 0

If yy is 10 to 31 then it must be written as is

If NNNN is Cats then N will be C and if NNNN is Dogs then N will be D

For example:

If the source file contains the following text:

Blah Blah Blah dlkhjfdlkfjdlkj dlkfj dflkjdfl kdjf

lkdfjdlkfjdlskfj dsf

lihfldshfdlk

reeilrueiurnksandasj kjhfkdjfh

Bought the ABCD 2/31 $160 Cats at the end of the year

cmv,nvcxm,nvxc

cmnchjjhdjhfd

cm,kjdskjds

Then the program would write the following line to the [login to view URL] file:

ABCD170231C00160000

6) I may need to make adjustments to the keywords being searched for, so I will need the source code for the program once the project is completed and paid for so that I can adjust the source and then re-compile the program myself if I need to do that.

I am happy to give other examples to the winning freelancer once they have started working on the project.

Γλώσσα Προγραμματισμού C# Προγραμματισμός C++ Programming Visual Basic

Ταυτότητα Εργασίας: #13590698

Σχετικά με την εργασία

9 προτάσεις Απομακρυσμένη εργασία Ενεργό Πριν 6 χρόνια

Ανατέθηκε στον:

vano101

Hello,. It looks as something really easy to complete, there is just left to figure out how to operate keywords, I believe it's something easy.

$51 AUD σε 2 μέρες
(1372 Αξιολογήσεις)
7.6

9 freelancers κάνουν προσφορές κατά μέσο όρο $121 για αυτή τη δουλειά

wangbeizou

Hello. How are you today. I have read and understood the project. I have strong knowledge in Data structures and Algorithms. And I'm expert in Java ,C/C++,C#, Python ,PHP etc. I'm interested this project. So, fi Περισσότερα

$50 AUD σε 1 μέρα
(107 Αξιολογήσεις)
6.0
mail2vimalarora

Hi, I have gone through your project details and would like to take an opportunity to work on it. Being experienced in working on several such scanner utilities where files are read and some actions are performed as Περισσότερα

$45 AUD σε 3 μέρες
(56 Αξιολογήσεις)
5.4
BeautiCG

Hi,dear. I am a senior software developer. I have just checked your project report, I am able to perform this task with my developer team. I am looking forward to your proposal...

$155 AUD σε 1 μέρα
(15 Αξιολογήσεις)
4.5
rabhardwaj

A proposal has not yet been provided

$166 AUD σε 3 μέρες
(2 Αξιολογήσεις)
1.8
marcnabillabib

I'm an embedded systems engineer and I have programmed many useful programs in C and I understood what you need exactly and I would like to help you do it. please feel free to contact me if you have any questions.

$100 AUD σε 2 μέρες
(1 Κριτική)
1.0
aabdellatttif

I have 10 years of Software developing most of them using C# and .NET technologies ,I can easily design build full cycle project for u am not here a lot so I don't have good rank but I grantee an excellent work for you

$155 AUD σε 3 μέρες
(1 Κριτική)
0.0