Write a script modifing a textfile - any language accpeted

进行中 已发布的 3 年前 货到付款
进行中 货到付款

I need you to write a script just modifing a textfile -> you can use your preffered language.

so we have an "[login to view URL]" and an "[login to view URL]".

As soon as you take the job I will provide you the files to check your script against (there are more variables but we don't need to know them).

important info:

Everything an object stores will and needs to be on the same row.

The order of objects don't need to stay the same, only the encapsulations need to be correct.

Blue = variable black = always the same

All Entry's we want to use start with "mod cmd DATADIR doit-liberm 101" inside "[login to view URL]" and "mod cmd DATADIR doit-liberm 102" in "output"

the script has to do this:

1. search for entry's which have the same number in "(kpx=<numba notrl="8395"" in "[login to view URL]" as the FIRST "(z179=8395)" in "[login to view URL]"

// if it works correctly there will be no change in the 2nd row in "[login to view URL]"

2. If there are more than one Entry (Items) save the entry's from "[login to view URL]" in an additional [login to view URL] -file.

3. If there is no matching Entry (Items) save these from "[login to view URL]" in an additional [login to view URL] -file.

4. Else (only one matching Object found) -> copy everything from "[login to view URL] found entry" -> "[login to view URL] found entry" BUT THESE:

// Everything with "(kpx=<device hw" like this:

(kpx=<device hw="test entry"/>)

//All these (never overwrite or add -> [login to view URL]):

(cn=rio021)(dn=Someones Name 5827)(z179=30076888)(realname=rio021)(location=Master-locational)(place=root)(usn=709)

//additional info here: there are multiple "z179=" only the first one per row should NOT be copied (from [login to view URL]) / replaced (in [login to view URL]) !

5. We also have this kind of entrys, which only need to be copied over when they are a MAC-address but as all of them start the same way "119933" (same manufacture) we can also just use this a s a filter (don't overwrite existing but just add it):

(kpx=<device hw="1199334637c7"/>)

Python Ruby

项目ID: #28157288

关于项目

7个方案 远程项目 活跃的3 年前

有7名威客正在参与此工作的竞标,均价$166/小时

CrazyProger

I'm a professional programmer for programming with Python language. I read the job description and understood the requirements. I can write a script just modifing a textfile. I'm ready to do it now. I will wait for 更多

$200 USD 在2天内
(26条评论)
6.0
kevins50

Hello, I can write a script to parse the input files based on the criteria you have listed and output the files correctly. My first choice would be to use Python but I can use other languages if you prefer.

$80 USD 在2天内
(20条评论)
5.5
EkoLike

Hello. in desktop application, i am very excellent. java, c++, c#, vba, python etc. and also i am good at algorithm project just DFS, BFS, A*, Uniform, Greedy Algorithm before I was in many desktop app such as c++, c 更多

$140 USD 在2天内
(4条评论)
4.2
nikolai198061

Hi, there. I read your requirements and I recommend you Python! Python is powerful language of programming. I have professional experiences in Python. I can complete your project successfully. Best Regards!

$200 USD 在7天内
(3条评论)
2.8
chakrabortym242

Hello. I am a Python programmer. I have worked with data extraction, data manipulation and data mining. Your project seems interesting and I think I can complete the job. Please contact me with details if interested.

$200 USD 在7天内
(0条评论)
0.0