looking for linux script to count occurrences and create arrays
$10-30 AUD
Completed
Posted almost 4 years ago
$10-30 AUD
Paid on delivery
Hi,
I'm looking for a linux script (shell or python etc) that can go through each line in a text file that contains:
11,33,44
13,30,9
14,15,18
19,20,35
and count the number of times a character appears in one line then see which numbers occured in the line above it so in the above example it would say:
"11" occurred in one line, "1" occurred once in the line below it, 2 occurred zero times in the line below it, "3" occurred twice in the line below it etc..up to 9.
"33" occurred in one line, "1" occurred once in the line below it, 2 occurred zero times in the line below it, "3" occurred twice in the line below it etc..up to 9.
"44" occurred in one line, "1" occurred once in the line below it, 2 occurred zero times in the line below it, "3" occurred twice in the line below it etc..up to 9.
This should only compare two lines to each-other, going through all lines in a text file.
hi sir i am Interested in your task to provide my best skills in desired field. myself 6 years experienced developer. and my aim only to provide my best quality work. for assurance of quality in work you can check my reviews. ping me for more discussion. :)
$30 AUD in 1 day
5.0 (117 reviews)
5.9
5.9
7 freelancers are bidding on average $27 AUD for this job
Hello,
I am experienced IT system engineer with industry experience of more than 4 years.
I have involved in several linux based implementations and bash scripting as well.
I have done bash scripting work in Freelancer as well.
I believe we should be able to achieve your task with properly using 'grep' command.
I would be glad to work on this opportunity.
Thanks
Pamuditha
I am experienced python developer. I am able to solve your problem in a day and deliver the solution to you in time. I have done complex projects and this one won't take my time.
hey man, The script is ready. Really, I promise, I will email you as soon as you bid me,
I wrote it in Python. and I made it as you have expected, I test it in your example problem that you have gave.
If you want to change something in the output of the program, you can tell me Anytime.(We talk about it)
I have a experienced in Python for four years, Thanks.
email me/
I have an experience in bash and shell scripting from past 3 4 years. I was working on bash since I was in university.
I can complete this task under 1 week.
Lets discuss it..