![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FMLI on Suse | Marcos Brito | High Level Programming | 2 | 09-26-2007 08:54 AM |
| using fmli to create menu's | craigmckeeman | UNIX for Advanced & Expert Users | 0 | 10-06-2006 12:45 PM |
| fmli functions? | craigmckeeman | Shell Programming and Scripting | 0 | 10-03-2006 04:45 AM |
| Fmli Signal/trap | Marcos Brito | Shell Programming and Scripting | 0 | 03-22-2005 03:20 PM |
| using CD command in fmli | Claude | Shell Programming and Scripting | 1 | 12-01-2001 03:08 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
using fmli to create menu's
I am currently having a problem creating a dynamic Menu that reads in from a file and appends this Menu list with an exit menu item.
the syntax I am using to create the dynamic Menu is menu="$ARG1 Host names" `cat Hosts.data | regex '^(''.*)$0$' ' name="$m0" action=open Menu.Login.mnu $ARG1 $m0 1) This created a menu that had 3 columns, I only wanted 1 column 2) I tried to add an Exit Menu item to the list but it creates one after each Menu list. e.g. host1 exit host2 exit host3 exit |
|
||||
|
The Host.data file has something simular to ;
Host01 Host02 Host03 Host04 .... Hostnn the $ARG1 will either be "Build", "FTP" or "Release", and is used to be passed through as an argument for Menu.Login.mnu $m0 will just be the values of Host.data file |
| Sponsored Links | ||
|
|