Re: SOLUTION: Strange behaviour with output redirection (MORE information, Bug in awk.exe?)

2005-05-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Pekka Niiranen on 5/12/2005 9:42 AM: > Commenting out ANY one of those 7 lines fixed the problem. > It seems I was running out of some resources > but cannot explain what is it. > > Is "$(( ))" for arithmetic safer? Anyone? $(( )) is ce

Re: SOLUTION: Strange behaviour with output redirection (MORE information, Bug in awk.exe?)

2005-05-12 Thread Pekka Niiranen
Pekka Niiranen wrote: Got it! I had 7 following lines ord1=`expr 300` echo "Base ordinal is ${ord1}" ord=`expr ${ord1} + 5`#subsequent module interval counter prev=`expr 0` ctr=`expr 1` count=`expr 0` disp_nb=`expr 264` BEFORE the awk call ${FAWK}/"Number_of_Loops/{print \$3}" subst$1 >${TMPDI