On Tue, 2002-04-30 at 15:33, christopher j bottaro wrote: > hehe, non strongly typed languages always confuse me. i'm trying to get this > to work > SUFFIX=${UID} % 100 > but it doesn't work. i think UID is not an interget var. since bash vars are > not strongly typed, i figured it would just do the cast for me.
You'll have to tell bash to do math: SUFFIX=$(( ${UID} % 100 )) _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list