This repository has been archived on 2023-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

20 lines
309 B
Bash
Executable File

#!/bin/sh
# $Id: gauge3,v 1.2 2003/08/15 19:40:37 tom Exp $
: ${DIALOG=dialog}
(
sleep 1
for n in 0 1 2 3 4 5 4 3 2 1 0
do
PCT=`expr $n \* $n \* 4`
echo "XXX"
echo $PCT
echo "The new\n\
message ($PCT percent)"
echo "XXX"
sleep 1
done
) |
$DIALOG --title "GAUGE" --gauge "Hi, this is a gauge widget" 10 70 0