INNER CODE UNIT · Shell

$1

ByCh4n/BCHackTool · bchacktool-termux.sh:42

elif [[ $1 =~ ^(-v|--version) ]] ; then
    echo "$version"
    exit 0
fi

# spinner
spinlong ()
{
    bar=" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
    barlength=${#bar}
    i=0
    while ((i < 100)); do
        n=$((i*barlength / 100))
        printf "\e[00;32m\r[%-${barlength}s]\e[00m" "${bar:0:n}"
        ((i += RANDOM%5+2))
        sleep 0.02
    done
    echo -e "[${green}OK${tp}]"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…