is there a "bash library" to accomplish this with arbitrary function ala decorators?
There's a couple examples that are worth anything, but they don't implement jitter.
I want to improve them to do so according to Amazon's best practice.
really i should do #8 instead