getitems man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

getitems(1F)			 FMLI Commands			  getitems(1F)

NAME
       getitems - returns a list of currently marked menu items

SYNOPSIS
       getitems [delimiter_string]

DESCRIPTION
       The  getitems function returns the value of lininfo if defined, else it
       returns the value of the name descriptor, for all currently marked menu
       items.  Each  value  in	the list is delimited by delimiter_string. The
       default value of delimiter_string is newline.

EXAMPLES
       Example 1 A sample output of getitems command.

       The done descriptor in the  following  menu  definition	file  executes
       getitems	 when  the user presses	 ENTER (note that the menu is multise‐
       lect):

	 Menu="Example"
	 multiselect=TRUE
	 done=`getitems ":" | message`
	 name="Item 1"
	 action=`message "You selected item 1"`
	 name="Item 2"
	 lininfo="This is item 2"
	 action=`message "You selected item 2"`
	 name="Item 3"
	 action=`message "You selected item 3"`

       If a user marked all three items in this menu,  pressing	  ENTER	 would
       cause the following string to be displayed on the message line:

	 Item 1:This is item 2:Item 3

NOTES
       Because	lininfo is defined for the second menu item, its value is dis‐
       played instead of the value of the name descriptor.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcsu			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       attributes(5)

SunOS 5.10			  16 May 2011			  getitems(1F)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net