5

need help using arrays with Xdialog

view full story
linux-howto

https://bbs.archlinux.org – Hi all!I have two arrays like this:SERVERS=('192.168.1.2' '192.168.1.3' '192.168.1.4' '192.168.1.n')DESCRIPTION=('Home' 'Office' 'Other' 'Description_n')I'd like to show an Xdialog menu (using --menubox switch) like this:---------------------------------------------192.168.1.2 - Home192.168.1.3 - Office192.168.1.4 - Other---------------------------------------------   [ OK ]          [Cancel]I know how to create menu but I just dont know how to pass array elements to Xdialog. (HowTos)