retry icon indicating copy to clipboard operation
retry copied to clipboard

Dependency on awk

Open kadwanev opened this issue 6 years ago • 2 comments

The shell implementation requires the ability to do floating point calculations for calculating exponential backoff. Out of the workable options, I found only awk available in the minified system images I was working with. I suppose this dependency could cause problems for some. Should implementations for others be included? Others that could work: python, ruby, bc, dc

kadwanev avatar May 02 '18 16:05 kadwanev

Please check https://github.com/kadwanev/retry/pull/12 I've added built-in bash, bc and perl to the mix of calculators.

rhamon avatar May 26 '18 02:05 rhamon

LOVE IT! Let me just test it in the next couple days and merge. Thank you for your contribution!

kadwanev avatar Jun 05 '18 20:06 kadwanev