Closed cameronoxley closed 9 years ago
I have come across the same problem too run environment: os x
./cli-clock: line 201: 1000000000 - 10#N: value too great for base (error token is "10#N")
Interesting. Are you also running OSX, cameronoxley? Which version of bash are you guys using?
I added a fix that I think ought to work for you guys.
Running GNU bash, version 3.2.57(1)-release for OSX.
The fix mentioned above did seem to work. Thanks!
Without having looked at bash's release notes, I'm betting this is a bash 3 limitation. I run CentOS 6 on my iMac at the office, and Fedora on a laptop, both of which include bash 4.
Glad to hear the code change solves the problem for you guys
Received the following error:
cli-clock: line 234: 1000000000 - 10#N: value too great for base (error token is "10#N")