Daniele Maccari wrote:
> Omg, again, please note that in this part:
>
> [ $3 -lt 0 -a $(( $i+$3+1 )) -lt ${#tokens} ] && echo -n ${tokens[$(( $i+$3+1 
> ))]}
>
> of the Get_Token function, the control about $(( $i+$3+1 )) is still wrong, 
> it should be greater than -1, if I'm not wrong on this too :D
> Thanks for your patience.
>   
Ok, this is the last, I promise. It should be in between 0 and 
{#tokens}, so the line should be:

[ $3 -lt 0 -a $(( $i+$3+1 )) -gt -1 -a $(( $i+$3+1 )) -lt ${#tokens} ] && echo 
-n ${tokens[$(( $i+$3+1 ))]}

do you agree?

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to