bash-exercises/loading.sh

12 lines
138 B
Bash
Raw Normal View History

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