05-14-2014
Nope its a practice exercise to get my feet wet. Next semester i'm taking a unix class so I've been doing some soft scripting to prepare myself.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have the following functions but when I run SelectQmgr from a Menu Selection it doesn't do anything.
SelectQmgr ()
{
qmgrlist=`ls /var/mqm/qmgrs/ | grep -v @SYSTEM`
qmgrcount=`ls /var/mqm/qmgrs/ | grep -v @SYSTEM | wc -l`
if
then
echo "$qmgrlist QManager will be used "
... (7 Replies)
Discussion started by: darthur
7 Replies
2. Shell Programming and Scripting
Problem:
I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies
3. Shell Programming and Scripting
Hi!
I have created on script which is working fine with menu options and with a sub-menu.
I want to enhance it by using sub-options under menu options.
Like.
option 1) will give the list only.
option 1.1) should give the option to user to choose one file, whose content user wanna see. ... (3 Replies)
Discussion started by: sukhdip
3 Replies
4. Shell Programming and Scripting
hi all i am a newbie to this
is there any examples on creating a main menu with 3 sub menu
main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2
i am getting headache as my code kept getting unexpected EOF
---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies
5. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
6. Programming
Hi,
I am studying exec family of functions.Its man page says,it replaces the current process image with a new process image. If it replaces the binary,then after returning back,how does it get the previous parameters of the process which called exec?As replacing process image means replacing all... (1 Reply)
Discussion started by: Radha.Krishna
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am studying exec family of functions.Its man page says,it replaces the current process image with a new process image. If it replaces the binary,then after returning back,how does it get the previous parameters of the process which called exec?As replacing process image means replacing... (5 Replies)
Discussion started by: Radha.Krishna
5 Replies
8. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT DEBIAN
ledgersmb::dbobject::menu
LedgerSMB::DBObject::Menu(3pm) User Contributed Perl Documentation LedgerSMB::DBObject::Menu(3pm)
NAME
LedgerSMB::DBObject::Menu - Menu Handling Back-end Routines for LedgerSMB
SYNOPSIS
Provides the functions for generating the data structures for the LedgerSMB menu.
COPYRIGHT
Copyright (c) 2007 The LedgerSMB Core Team. Licensed under the GNU General Public License version 2 or at your option any later version.
Please see the included COPYRIGHT and LICENSE files for more information.
METHODS
new()
Inherited from LedgerSMB::DBObject. Please see that documnetation for details.
generate()
This function returns a list of menu items. Each list item is a hashref: keys %menu_item would return the equivalent of qw(position id
level label path args). Returns the complete list and sets $menu->{menu_items} to a referene to th result set, This function does not
return an entry for the top-level menu.
generate_section()
This class acts like Menu::Generate except it returns only a cross-section of the menu. Basically it returns all nodes which are
direct children below $object->{parent_id}.
will_expire_soon()
This method returns true if the user's password will expire soon (within the next week).
Copyright (C) 2007 The LedgerSMB Core Team
Licensed under the GNU General Public License version 2 or later (at your option). For more information please see the included LICENSE
and COPYRIGHT files.
perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Menu(3pm)