10-gauge.sh 204 B

12345678910111213141516
  1. #!/bin/sh
  2. {
  3. for ((i = 0 ; i <= 100 ; i+=5)); do
  4. sleep 0.1
  5. echo "$i"
  6. done
  7. } | whiptail \
  8. --title 'gauge' \
  9. --backtitle 'whiptail' \
  10. --gauge \
  11. 'Espera un momento...' \
  12. 6 \
  13. 32 \
  14. 0