News for hackers. Stuff that matters.
Re:Bash Retry Function with Exponential Backoff by bdowling on Thursday December 29, 2022 @07:10PM (#34179901)
You can also use the builtin command `let`:

    let count=0
    until "$@"; do
        let wait=2**count
        sleep $wait
        let count=count+1
    done

There are no comments on this comment yet.