#!/bin/ksh Y=1 Z=1 X=7680072911 C=1 until [ ${C} -eq 50 ] do typeset -i -l Y=$(( ${Y} + ${Y} + ${X} )) typeset -i -l Z=$( echo "(${Z} + ${Z} + ${X})" | bc ) print "C=${C},Y=${Y},Z=${Z}, $( [ ${Y} -ne ${Z} ] && print Error || print Ok )" C=$(( ${C} + 1 )) done
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1818596 Title: Inbuilt KORN Arithmetic & Test functions broken under Windows Subsystem for Linux To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ksh/+bug/1818596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs