Find Jobs
Hire Freelancers

Bash Multiple Array script

$30-250 USD

진행 중
게시됨 1년 이상 전

$30-250 USD

제출할때 지불됩니다
I need a quick turn around, this will be one of the first things I ask is how long to complete this. I need a bash script to loop through some data for me, I assumed a simple function based off of data in an array but it may not be that easy as there is a catch. Requirements: 1. I have 14 categories 2. I have 7 variables per category categories = a - n variables = 1 - 7 where CATEGORY = name of category variable1 ="$(tac /mnt/data/systemlogs/logstash/logs/[login to view URL] | grep [login to view URL] -m 1 | grep -Eo '[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}T[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}')" variable2="$(curl -s -XGET -k $login $u/cdm_CATEGORY_current/_search | grep -Eo '@timestamp\"\:\"[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{2}' | tail -n1 | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}')" variable3="$(TZ=EASTERN date -d $VARIABLE1 +%m-%d' '%k:%m:%S)" variable4="$(TZ=UTC date -d $VARIABLE2 +%m-%d' '%k:%m:%S)" variable5="$(TZ=EASTERN date -d $VARIABLE1 +%s)" variable6="$(TZ=UTC date -d $VARIABLE2 +%s)" variable7="$(($VARIABLE6-$VARIABLE5))" ***** PLEASE READ THIS! Secondary issue. Category n variable 2 will be n_1. Literally nothing I can do about that though GIVING 2 examples here. Category b variable 1 would be variable1 ="$(tac /mnt/data/systemlogs/logstash/logs/[login to view URL] | grep [login to view URL] -m 1 | grep -Eo '[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}T[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}')" Example 2: Category n variable 2 variable2="$(curl -s -XGET -k $login $u/cdm_n_1_current/_search | grep -Eo '@timestamp\"\:\"[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{2}' | tail -n1 | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}')" These need set like that as I have to use those values later on in the code. There are times these variables (I wrote) could change, which means it would be easiest in an array or something like that I would change only minimal things.
프로젝트 ID: 34775088

프로젝트 정보

4 제안서
원격근무 프로젝트
활동 중 2년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
May be I'm off the marks here! But here's what I've understood from your post: * You have some categories with 7 variables. * Those variables parameters differ with their associated category. * Now you need a function where you just simply pass the category information and get the processed variables. If I'm on the mark I can do the work, maybe around 2 hours or so!
$50 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0
4 이 프로젝트에 프리랜서들의 평균 입찰은 $150 USD입니다.
사용자 아바타
Bash Multiple Array script. I can do it. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfrom give me a chance to show you the best i can do at your service.
$170 USD 3일에
4.8 (4 건의 리뷰)
3.6
3.6
사용자 아바타
Hi there. I am a full stack developer with experience in Azure, Bash, Machine Learning (ML), Python, Deep Learning and Communications. I have worked with many similar projects as i have a team of enthusiastic developers. We strive to give our best. Please contact to discuss in detail.
$130 USD 2일에
5.0 (1 건의 리뷰)
1.4
1.4
사용자 아바타
Hello there, I have worked on bash/shell scripts for 6 years now. I am proficient with regex/sed/grok which helps me in providing more robust solutions. Lets discuss more in details and I can complete your task
$250 USD 7일에
0.0 (1 건의 리뷰)
1.0
1.0

고객에 대한 정보

국기 (UNITED STATES)
Fredericksburg, United States
5.0
11
결제 수단 확인
9월 25, 2013부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.