Search Results

Search: Posts Made By: babulin2002
1,438
Posted By babulin2002
thank you !!!
thank you !!!
1,438
Posted By babulin2002
thanks, but that doesn't work, it treats $ff and...
thanks, but that doesn't work, it treats $ff and $c as two different variables, resulting in $ff being nothing (undefined) and $c being what it is, counter integer. that is why $[ff$c] syntax has to...
1,438
Posted By babulin2002
variables in variables ?
Hi
Here is a simple code

for (( c=1; c<=20; c++ ))
do
eval ff${c}=`cut -f$c -d, dupa`
echo $[ff${c}]

if [ $[ff${c}] != 0 ] ; then
echo chuju
...
1,589
Posted By babulin2002
using existing variables as counters in a "for" loop ?
Hi all,
I am rather new to shell programing
I am trying to run a loop through variables that already exist,
here is (a part of ) the code, variables param_kz etc already exist (in the same file,...
Showing results 1 to 4 of 4

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