Example 16. File 05.00-progress_bar
#! /bin/bash export MAIN_DIALOG=' <vbox> <frame Progress> <text> <label>Some text describing what is happening.</label> </text> <progressbar> <label>Some Text</label> <input>for i in $(seq 0 10 100); do echo $i; sleep 0.3; done</input> <action type="exit">Ready</action> </progressbar> </frame> <hbox> <button cancel></button> </hbox> </vbox> ' gtkdialog --program=MAIN_DIALOG