4 ms·
You can also use the builtin command `let`: let count=0 until "$@"; do let wait=2**count sleep $wait let count=count+1 done
by bdowling 4y ago
You can also use the builtin command `let`:
let count=0
until "$@"; do
let wait=2**count
sleep $wait
let count=count+1
done