#!/bin/bash main () { for ((i = 0; i < 101; i++)); do printf "\rProgreso: $i%%" sleep 0.05s done echo -e "\nHecho!" } main