Find Jobs
Hire Freelancers

Calculate the sum of 200 variables VAR_01 the VAR_200 in bash script

$10-40 USD

완료함
게시됨 9년 이상 전

$10-40 USD

제출할때 지불됩니다
I have 100 variables, created in VAR_01 to VAR_100 by another script. Necessary to add the final value of them. That's it ..... I've tried -------------------------------------------------------------------------- !/bin/bash for i in $(seq 1 100) do COUTER=`echo "$COUTER + $VAR_$i" | bc` done -------------------------------------------------------------------------- but not works !!!! These variables were 100 are created by another scrit, which runs before that party must do the sum. I would like to find the best way to do this safely and efficiently.
프로젝트 ID: 7042591

프로젝트 정보

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

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
That's a real easy fix - I can do it in 5 minutes. I've been writing bash for 20 years. I just did a script doing the same work.
$15 USD 0일에
5.0 (4 건의 리뷰)
2.1
2.1
4 이 프로젝트에 프리랜서들의 평균 입찰은 $23 USD입니다.
사용자 아바타
Please explain it a little better what is var_01 to var_100 are they files? Do you want to count all variables and in an output file and write the final value at the end of the file? Regards usman
$30 USD 1일에
5.0 (109 건의 리뷰)
7.2
7.2
사용자 아바타
A proposal has not yet been provided
$25 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0
사용자 아바타
A proposal has not yet been provided
$20 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (BRAZIL)
Natal, Brazil
5.0
10
결제 수단 확인
1월 6, 2014부터 회원입니다

고객 확인

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