Search Results

Search: Posts Made By: Celine19
3,986
Posted By Celine19
I tried this for element in `seq 1 50` ...
I tried this


for element in `seq 1 50`
do

$tab_T1[element] = ` expr ${tab2[element]} - ${tab1[element]} `
echo "$element"
done


but had the same error

./T1: line 57: [1]: command...
3,986
Posted By Celine19
Sorry for repeating my question. I tried...
Sorry for repeating my question.

I tried this:
for element in ${#tab1 }

$tab_T1[$element]=`expr ${tab2[$element]} - ${tab1[$element]}`

do echo "$element"
done

echo ${#tab_T1 }

but...
3,986
Posted By Celine19
Any help please??
Any help please??
3,986
Posted By Celine19
tables in scripts
Hi ,

I have two tables with same length t1 and t2, I want to cretae a new third table where i put the difference between the elements of t2 and t1,

t3[0]= t1[0] - t2[0]
t3[1]= t1[1] - t2[1]
...
2,663
Posted By Celine19
Thanks so much, Just this makes only the...
Thanks so much,

Just this makes only the conversion , but what about the tables? and how will I make difference between the lines ?
2,663
Posted By Celine19
text file analysis
Hello,

I have a text file containin 4 lines which are repeated along the file, ie

the file looks like this:

16:20:12.060769 blablabla 40
16:20:12.093199 blablabla 640
16:20:12.209003...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 05:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy