[lug] dialog in bash script

John Starkey jstarkey at advancecreations.com
Sun Nov 5 02:26:24 MST 2000


Can anyone tell me what this does? It's between a fi and an if.

dialog --clear --title 'some_exec' --menu Pick 20 70 12 $list 2 >
/tmp/menu.$$

What confuses me is:

dialog -- what's this tell the shell to do? Concat the remainder of the
line to menu.$$? The script does declare a new variable with the
contents of menu.$$ and rm menu.$$ several lines later.

--clear -- does this clear dialogs cache?

Pick -- looks like it belongs to --menu.

20 70 12 -- params for Pick?

$list 2 -- is this pulling 2 from the var $list?

or:

Pick 20 70 $list 2 -- are these each parts of --menu?


Thanks,

John





More information about the LUG mailing list