From: | Wolf Giesen <wolf.giesen@×××××××××××.de> | ||
---|---|---|---|
To: | gentoo-server@l.g.o | ||
Subject: | Re: [gentoo-server] menu items in dialog with variables | ||
Date: | Mon, 24 Oct 2005 11:15:21 | ||
Message-Id: | 05Oct24.100945cest.334141@mail.print.wnonline.de | ||
In Reply to: | [gentoo-server] menu items in dialog with variables by Chris Smart |
1 | > Works just fine if I hardcode it with the following: |
2 | > |
3 | > #!/bin/bash |
4 | > dialog --menu "MENU" 20 50 16 1 "first one" 2 "second one" |
5 | > |
6 | > ..but I need to generate the menu list elsewhere in the script ;) |
7 | > |
8 | > Any ideas? |
9 | |
10 | dialog --menu "MENU" 20 50 16 "$menu" |
11 | |
12 | should work. Does here :) |
13 | |
14 | Mind the "$menu". |
15 | -- |
16 | gentoo-server@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-server] menu items in dialog with variables | Chris Smart <taskara@××××××××××××.net> |