완료

looking for linux script to count occurrences and create arrays

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.

기술: Python, 리눅스, 쉘 스크립트, 소프트웨어 아키텍처

확대 보기: linux script mysql sync, script count number jobs, sql script count record sequence row, bash count occurrences of string in file, count occurrences of all words in file linux, shell script to count occurrences of a word in a file, bash uniq count, bash count lines, unix count occurrences of word, count occurrences of word in file unix, linux count occurrences of string in line, looking game script similar bootleggers, pharmacy script count, looking quality cad person can create freelance drawings, dash linux script, script microsoft dns create host record, linux script manager users, create good looking linux documentation, linux script count files, linux script minute count

고용주 소개:
( 62건의 리뷰 ) Sydney, Australia

프로젝트 ID: #25639793

수상자:

TeamDPS

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 r 더 보기

$30 AUD (1일 이내)
(33건의 리뷰)
4.5

이 프로젝트의 입찰 현황은 다음과 같습니다. 입찰자: 10명, 평균 입찰가: $37

mymamun

Hi there I am damn good at shell script and python. I can write such a script to count the occurrence. can you please talk to me regarding this? Thanks

$50 AUD (7일 이내)
(9 리뷰)
3.5
malithpamuditha

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 Freelanc 더 보기

$30 AUD (3일 이내)
(7 리뷰)
3.4
ledioberdellima

Hello, I can come up with a script to calculate this result in about an hour. Do you have more test cases with expected results? Best Regards, Ledio

$30 AUD (1일 이내)
(11 리뷰)
3.5
avolynetsdev

Hi Dear I have rich experience in python I want to work with you for long time Best Regards

$100 AUD (1일 이내)
(0 리뷰)
0.0
farhaniiwalidoux

i can make you this script in one day with python actually

$40 AUD (1일 이내)
(0 리뷰)
0.0
SOOD2105

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..

$22 AUD (7일 이내)
(0 리뷰)
0.0
denzelakwanie

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.

$35 AUD (1일 이내)
(0 리뷰)
0.0
$25 AUD (1일 이내)
(0 리뷰)
0.0
prathamchauhanco

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 더 보기

$10 AUD (1일 이내)
(0 리뷰)
0.0