diff options
Diffstat (limited to 'examples_utility/mixedgauge.sh')
-rwxr-xr-x | examples_utility/mixedgauge.sh | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/examples_utility/mixedgauge.sh b/examples_utility/mixedgauge.sh index 940972aeb174..ce867973859a 100755 --- a/examples_utility/mixedgauge.sh +++ b/examples_utility/mixedgauge.sh @@ -16,18 +16,19 @@ for i in $input do perc="$(expr $(expr $curr "*" 100 ) "/" $total )" curr=`expr $curr + 1` - ./bsddialog --title " mixedgauge " --mixedgauge "Example" 20 38 $perc \ - "Hidden!" 8 \ - "Label 1" 0 \ - "Label 2" 1 \ - "Label 3" 2 \ - "Label 4" 3 \ - "Label 5" 4 \ - "Label 6" 5 \ - "Label 7" 6 \ - "Label 8" 7 \ - "Label 9" 9 \ - "Label X" -- -$perc - sleep 1 + ./bsddialog --sleep 1 --title " mixedgauge " --mixedgauge "Example" 25 50 $perc \ + "Hidden!" 8 \ + "Label 1" 0 \ + "Label 2" 1 \ + "Label 3" 2 \ + "Label 4" 3 \ + "Label 5" 4 \ + "Label 6" 5 \ + "Label 7" 6 \ + "Label 8" 7 \ + "Label 9" 9 \ + "Label 10" 10 \ + "Label X" " -$perc" + #sleep 1 done |