> Works just fine if I hardcode it with the following:
> 
> #!/bin/bash
> dialog --menu "MENU" 20 50 16 1 "first one" 2 "second one"
> 
> ..but I need to generate the menu list elsewhere in the script ;)
> 
> Any ideas?

dialog --menu "MENU" 20 50 16 "$menu"

should work. Does here :)

Mind the "$menu".
-- 
[email protected] mailing list

Reply via email to