10-08-2018
Thank you Peasant, much appreciated. Just what I needed to know.
regards
Allen
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have some troubles with zenity and menu.
I seach for:
MAIN MENU
CHOICE 1
"do something"
CHOICE 2
"do something 2"
CHOICE 3
"do something 3"
But then in "do someghing " when i click i want to return to the MAIN MENU
So something like:
while true; do
... (4 Replies)
Discussion started by: aspire
4 Replies
2. Shell Programming and Scripting
I have a main menu
quit=n
while
do
clear
echo
echo "1. General system information"
echo "2. Hardware utilisation information"
echo "3. File management"
echo "4. User information"
echo "5. Information on network connectivity"
echo "6. Information on processes"
echo "Q.Quit" ... (3 Replies)
Discussion started by: AngelFlesh
3 Replies
3. Shell Programming and Scripting
Greetings all,
I'm having some trouble writing a menu drive bash script, actually coding the menu part was not difficult however its a problem with a menu option I'm having trouble with.
My menu has 5 options, when the user selects the second option, they are then prompted to enter a number from... (5 Replies)
Discussion started by: Vitrophyre
5 Replies
4. Shell Programming and Scripting
Hi again :)
This is just a sample whiptail menu.
Works great, but have been trying to get the chosen value into a variable but failing pretty bad...its ther but unsure how to echo it out when needed
#! /bin/bash
#This is the menu
whiptail --title "Menu example" --menu "Choose an... (9 Replies)
Discussion started by: olearydc
9 Replies
5. UNIX for Dummies Questions & Answers
Dear Sir,
May I know how do I go about adding the following feature into the script below:
When user enter values other than 1,2,3,4,
a) Message “Wrong entry !!! Pls select 1,2,3 or 4” is displayed
b) The screen is cleared again and the menu is displayed.
#!/bin/bash
clear
var=1... (2 Replies)
Discussion started by: fusetrips
2 Replies
6. Shell Programming and Scripting
Hello,
Been trying to build a menu with whiptail lately. However, my code doesn't seems to be working even though when i compared to other similar code they looks the same.
#!/bin/bash
clear
whiptail --msgbox "Entering networking sub-menu" 20 78
whiptail --title Networking --menu... (8 Replies)
Discussion started by: malfolozy
8 Replies
7. Shell Programming and Scripting
Ever since I added these two code blocks to my bash menu it just opens and closes right away. I use a batch file that worked fine until these codes were added and I am not sure what is wrong.
Basically, what I am trying to do in the additional section is if the answer is "Y" then it goes back... (13 Replies)
Discussion started by: cmccabe
13 Replies
8. Open Source
The perl command is not executing? I am trying to run the .pl in my cygwin home directory (C:\cygwin\home\cmccabe) using ${id}.txt.hg19_multianno.txt (located in the annovar directory) as the input file to be formatted and $FILENAME is the output file to be saved. The .pl is attached as... (8 Replies)
Discussion started by: cmccabe
8 Replies
9. Shell Programming and Scripting
Hello folks,
I have created a GUI but i face some issue with the loop either i am stuck in the loop or it close the program
In the code below it work fine for the "go to menu" if i press cancel i go back to the main menu but for "test" i m stuck in the menu
Appreciate some help :/... (13 Replies)
Discussion started by: flammeur
13 Replies
10. Shell Programming and Scripting
We have a simple menu with prompt of menu numbers to user.
It is still under construction.
Is there a way to "count" the menu choices so the prompt maximum count can be changed dynamically?
See attached TODO note in code
read_options(){
local choice
# the... (7 Replies)
Discussion started by: annacreek
7 Replies
LEARN ABOUT DEBIAN
bio::ontology::documentregistry
Bio::Ontology::DocumentRegistry(3pm) User Contributed Perl Documentation Bio::Ontology::DocumentRegistry(3pm)
NAME
Bio::Ontology::DocumentRegistry - Keep track of where to find ontologies. Allows lookups by name.
SYNOPSIS
my $registry = Bio::Ontology::DocumentRegistry->get_instance();
my($ont,$def,$fmt) = $registry->documents('Sequence Ontology');
my $io = Bio::OntologyIO->new(-url => $ont,
-defs_url => $def,
-format => $fmt);
my $so = $io->next_ontology();
#...
DESCRIPTION
Do not use this directly, use Bio::Ontology::OntologyStore instead. Bio::Ontology::OntologyStore uses Bio::Ontology::DocumentRegistry to
load and cache ontologies as object graphs, you can just ask it for what you want by name. See Bio::Ontology::OntologyStore for details.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the
Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Allen Day
Email allenday@ucla.edu
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
get_instance
Title : get_instance
Usage : my $singleton = Bio::Ontology::DocumentRegistry->get_instance();
Function: constructor
Returns : The Bio::Ontology::DocumentRegistry singleton.
Args : None
Usage
documents
Title : documents
Usage : my($ontology_url, $definitions_url, $format) = $obj->documents('Sequence Ontology');
Function: Maps an ontology name to a list of (local or) remote URIs where the
files can be located.
Returns : A 3-item list:(1) URI for the ontology file(2) URI for the ontology definitions file(3) format of the files (dagedit, obo, etc)
Args : Name of an ontology, e.g. 'Sequence Ontology', or 'Cellular Component
(Gene Ontology)'
perl v5.14.2 2012-03-02 Bio::Ontology::DocumentRegistry(3pm)