|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Project-Id-Version: understanding_modules.asciidoc 0.6\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"POT-Creation-Date: 2013-11-07 14:18-0500\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"PO-Revision-Date: 2013-11-07 14:18-0500\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Last-Translator: Localization SIG <centos-l10n-en@centos.org.cu>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Language-Team: English\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"MIME-Version: 1.0\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Content-Type: text/plain; charset=UTF-8\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Content-Transfer-Encoding: 8bit\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Understanding Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Understanding Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Oct 2013"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Oct 2013"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Alain"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Alain"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Reguera"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Reguera"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Delgado"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Delgado"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "al@centos.org.cu"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "al@centos.org.cu"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "ARD"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "ARD"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "0.1"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "0.1"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Overview"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Overview"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"From version 0.5, the <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script introduces the idea of modules to its base design. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Modules are a collection of functions written in Bash that can call "
|
|
Alain Reguera Delgado |
cdbf5c |
"one another to create individual execution environments. They may "
|
|
Alain Reguera Delgado |
cdbf5c |
"be nested to achieve high levels of maintainability and "
|
|
Alain Reguera Delgado |
cdbf5c |
"extensibility. This make possible for modules writers to divide "
|
|
Alain Reguera Delgado |
cdbf5c |
"complicated tasks into smaller tasks that can be easier to debug, "
|
|
Alain Reguera Delgado |
cdbf5c |
"maintain and share with other modules efficiently (e.g., instead of "
|
|
Alain Reguera Delgado |
cdbf5c |
"loading modules all at once, they are only loaded at demand and "
|
|
Alain Reguera Delgado |
cdbf5c |
"unset once they conclude their execution)."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"From version 0.5, the <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script introduces the idea of modules to its base design. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Modules are a collection of functions written in Bash that can call "
|
|
Alain Reguera Delgado |
cdbf5c |
"one another to create individual execution environments. They may "
|
|
Alain Reguera Delgado |
cdbf5c |
"be nested to achieve high levels of maintainability and "
|
|
Alain Reguera Delgado |
cdbf5c |
"extensibility. This make possible for modules writers to divide "
|
|
Alain Reguera Delgado |
cdbf5c |
"complicated tasks into smaller tasks that can be easier to debug, "
|
|
Alain Reguera Delgado |
cdbf5c |
"maintain and share with other modules efficiently (e.g., instead of "
|
|
Alain Reguera Delgado |
cdbf5c |
"loading modules all at once, they are only loaded at demand and "
|
|
Alain Reguera Delgado |
cdbf5c |
"unset once they conclude their execution)."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This article describes the modular design of
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script. It is a good place for you to "
|
|
Alain Reguera Delgado |
cdbf5c |
"start if you are planning to contribute new module environments to "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script or want "
|
|
Alain Reguera Delgado |
cdbf5c |
"to know more about how it works. The next section delves into what "
|
|
Alain Reguera Delgado |
cdbf5c |
"a module environment is, the three module types you can find in it "
|
|
Alain Reguera Delgado |
cdbf5c |
"and the correct way of execute each one of them."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This article describes the modular design of
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script. It is a good place for you to "
|
|
Alain Reguera Delgado |
cdbf5c |
"start if you are planning to contribute new module environments to "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script or want "
|
|
Alain Reguera Delgado |
cdbf5c |
"to know more about how it works. The next section delves into what "
|
|
Alain Reguera Delgado |
cdbf5c |
"a module environment is, the three module types you can find in it "
|
|
Alain Reguera Delgado |
cdbf5c |
"and the correct way of execute each one of them."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Module Environment"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Module Environment"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When you execute the <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script you create an execution environment in which "
|
|
Alain Reguera Delgado |
cdbf5c |
"variables and functions are defined. The execution environment is "
|
|
Alain Reguera Delgado |
cdbf5c |
"the higher environment inside <emphasis role=\"strong\">centos-art."
|
|
Alain Reguera Delgado |
cdbf5c |
"sh</emphasis> script. It is considered to have a “global” scope, so "
|
|
Alain Reguera Delgado |
cdbf5c |
"variables and functions defined in it are always available for any "
|
|
Alain Reguera Delgado |
cdbf5c |
"function execution made from it. You can control the execution "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment of <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script through files <literal>centos-art.sh</literal> and "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>centos-art.conf.sh</literal>. These files don't provide "
|
|
Alain Reguera Delgado |
cdbf5c |
"too much functionality so module environments are executed from "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>centos-art.sh</literal>, to extend its functionality."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When you execute the <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script you create an execution environment in which "
|
|
Alain Reguera Delgado |
cdbf5c |
"variables and functions are defined. The execution environment is "
|
|
Alain Reguera Delgado |
cdbf5c |
"the higher environment inside <emphasis role=\"strong\">centos-art."
|
|
Alain Reguera Delgado |
cdbf5c |
"sh</emphasis> script. It is considered to have a “global” scope, so "
|
|
Alain Reguera Delgado |
cdbf5c |
"variables and functions defined in it are always available for any "
|
|
Alain Reguera Delgado |
cdbf5c |
"function execution made from it. You can control the execution "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment of <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script through files <literal>centos-art.sh</literal> and "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>centos-art.conf.sh</literal>. These files don't provide "
|
|
Alain Reguera Delgado |
cdbf5c |
"too much functionality so module environments are executed from "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>centos-art.sh</literal>, to extend its functionality."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Module environments are made of small functions that perform small "
|
|
Alain Reguera Delgado |
cdbf5c |
"tasks and can be further executed in a specific order to produce "
|
|
Alain Reguera Delgado |
cdbf5c |
"the desired result. Module environments are executed and destroyed "
|
|
Alain Reguera Delgado |
cdbf5c |
"at demand. Inside <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, module environments can be either “parent modules,” "
|
|
Alain Reguera Delgado |
cdbf5c |
"“child modules,” or “sibling modules.”"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Module environments are made of small functions that perform small "
|
|
Alain Reguera Delgado |
cdbf5c |
"tasks and can be further executed in a specific order to produce "
|
|
Alain Reguera Delgado |
cdbf5c |
"the desired result. Module environments are executed and destroyed "
|
|
Alain Reguera Delgado |
cdbf5c |
"at demand. Inside <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, module environments can be either “parent modules,” "
|
|
Alain Reguera Delgado |
cdbf5c |
"“child modules,” or “sibling modules.”"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Parent Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Parent Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Parent modules are initiated by executing the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">tcar_setModuleEnvironment</emphasis> function with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">-t parent</emphasis> option set on it. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Parent modules are very simple in design and you can use them to "
|
|
Alain Reguera Delgado |
cdbf5c |
"implement simple solutions quickly. Normally, when you execute a "
|
|
Alain Reguera Delgado |
cdbf5c |
"parent module, you initiate the highest module environment possible "
|
|
Alain Reguera Delgado |
cdbf5c |
"inside <emphasis role=\"strong\">centos-art.sh</emphasis> script. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Because of such high scope, parent modules are frequently used to "
|
|
Alain Reguera Delgado |
cdbf5c |
"define module's global variables, interpret module-specific options "
|
|
Alain Reguera Delgado |
cdbf5c |
"passed through the command-line and execute the appropriate actions "
|
|
Alain Reguera Delgado |
cdbf5c |
"based on them."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Parent modules are initiated by executing the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">tcar_setModuleEnvironment</emphasis> function with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">-t parent</emphasis> option set on it. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Parent modules are very simple in design and you can use them to "
|
|
Alain Reguera Delgado |
cdbf5c |
"implement simple solutions quickly. Normally, when you execute a "
|
|
Alain Reguera Delgado |
cdbf5c |
"parent module, you initiate the highest module environment possible "
|
|
Alain Reguera Delgado |
cdbf5c |
"inside <emphasis role=\"strong\">centos-art.sh</emphasis> script. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Because of such high scope, parent modules are frequently used to "
|
|
Alain Reguera Delgado |
cdbf5c |
"define module's global variables, interpret module-specific options "
|
|
Alain Reguera Delgado |
cdbf5c |
"passed through the command-line and execute the appropriate actions "
|
|
Alain Reguera Delgado |
cdbf5c |
"based on them."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"In <xref linkend=\"debug-parent-modules\"/>, we have executed the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—greeting=hi</emphasis> and
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">—debug</emphasis> options through the command-line. "
|
|
Alain Reguera Delgado |
cdbf5c |
"In this example, <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script executes a parent module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">hello</emphasis>, processes the module-specific options passed "
|
|
Alain Reguera Delgado |
cdbf5c |
"through the command-line, prints a greeting message to standard "
|
|
Alain Reguera Delgado |
cdbf5c |
"output and exits successfully."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"In <xref linkend=\"debug-parent-modules\"/>, we have executed the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—greeting=hi</emphasis> and
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">—debug</emphasis> options through the command-line. "
|
|
Alain Reguera Delgado |
cdbf5c |
"In this example, <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script executes a parent module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">hello</emphasis>, processes the module-specific options passed "
|
|
Alain Reguera Delgado |
cdbf5c |
"through the command-line, prints a greeting message to standard "
|
|
Alain Reguera Delgado |
cdbf5c |
"output and exits successfully."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Debugging execution of parent modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Debugging execution of parent modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_ARGUMENT --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT -------------------------> hello --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_ARGUMENT --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT -------------------------> hello --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:53:28 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"debug-parent-modules\"/> describes an entire module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment in action. With this information you can create your "
|
|
Alain Reguera Delgado |
cdbf5c |
"own module environment, already. However, when your module is "
|
|
Alain Reguera Delgado |
cdbf5c |
"getting too much complicated you probably want to divide it in "
|
|
Alain Reguera Delgado |
cdbf5c |
"smaller pieces that you can execute accordingly, based on the "
|
|
Alain Reguera Delgado |
cdbf5c |
"purpose you defined for it. Such kind of division can be "
|
|
Alain Reguera Delgado |
cdbf5c |
"implemented as described in <xref linkend=\"module-optimization\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"debug-parent-modules\"/> describes an entire module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment in action. With this information you can create your "
|
|
Alain Reguera Delgado |
cdbf5c |
"own module environment, already. However, when your module is "
|
|
Alain Reguera Delgado |
cdbf5c |
"getting too much complicated you probably want to divide it in "
|
|
Alain Reguera Delgado |
cdbf5c |
"smaller pieces that you can execute accordingly, based on the "
|
|
Alain Reguera Delgado |
cdbf5c |
"purpose you defined for it. Such kind of division can be "
|
|
Alain Reguera Delgado |
cdbf5c |
"implemented as described in <xref linkend=\"module-optimization\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Summary"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Summary"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This section has covered basic concepts related to module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment inside <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script. The next section takes these concepts and focuses "
|
|
Alain Reguera Delgado |
cdbf5c |
"on the implementation of them. Once you finish it, you should be "
|
|
Alain Reguera Delgado |
cdbf5c |
"able of writing your own module environments from scratch inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This section has covered basic concepts related to module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment inside <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script. The next section takes these concepts and focuses "
|
|
Alain Reguera Delgado |
cdbf5c |
"on the implementation of them. Once you finish it, you should be "
|
|
Alain Reguera Delgado |
cdbf5c |
"able of writing your own module environments from scratch inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Module Implementation"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Module Implementation"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"implements module environments inside the “<literal>Modules</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal>” directory, as described in
|
|
Alain Reguera Delgado |
cdbf5c |
"structure\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"implements module environments inside the “<literal>Modules</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal>” directory, as described in
|
|
Alain Reguera Delgado |
cdbf5c |
"structure\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"For example, consider the creation of a module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis>. The purpose of this module is to print "
|
|
Alain Reguera Delgado |
cdbf5c |
"a greeting message to standard output and then exit successfully. "
|
|
Alain Reguera Delgado |
cdbf5c |
"To create such a module, we need to create a directory named "
|
|
Alain Reguera Delgado |
cdbf5c |
"“Hello” inside the “Modules” directory and put an initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file named “hello.sh” inside it. Because we want to execute the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module from
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">centos-art.sh</emphasis> script command-line, we "
|
|
Alain Reguera Delgado |
cdbf5c |
"put it in the first level of directories of <literal>Modules</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal> directory. See <xref linkend=\"parent-module-layout\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"For example, consider the creation of a module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis>. The purpose of this module is to print "
|
|
Alain Reguera Delgado |
cdbf5c |
"a greeting message to standard output and then exit successfully. "
|
|
Alain Reguera Delgado |
cdbf5c |
"To create such a module, we need to create a directory named "
|
|
Alain Reguera Delgado |
cdbf5c |
"“Hello” inside the “Modules” directory and put an initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file named “hello.sh” inside it. Because we want to execute the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module from
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">centos-art.sh</emphasis> script command-line, we "
|
|
Alain Reguera Delgado |
cdbf5c |
"put it in the first level of directories of <literal>Modules</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal> directory. See <xref linkend=\"parent-module-layout\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Directory layout used by parent modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Directory layout used by parent modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
".\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- COPYING <co id=\"CO1-1\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Locales/ <co id=\"CO1-2\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Manuals/ <co id=\"CO1-3\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Modules/ <co id=\"CO1-4\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- Hello/ <co id=\"CO1-5\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- hello.sh <co id=\"CO1-6\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- hello_getOptions.sh <co id=\"CO1-7\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Scripts/ <co id=\"CO1-8\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- centos-art.conf.sh <co id=\"CO1-9\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"`-- centos-art.sh <co id=\"CO1-10\"></co>"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
".\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- COPYING <co id=\"CO1-1\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Locales/ <co id=\"CO1-2\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Manuals/ <co id=\"CO1-3\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Modules/ <co id=\"CO1-4\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- Hello/ <co id=\"CO1-5\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- hello.sh <co id=\"CO1-6\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- hello_getOptions.sh <co id=\"CO1-7\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Scripts/ <co id=\"CO1-8\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- centos-art.conf.sh <co id=\"CO1-9\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"`-- centos-art.sh <co id=\"CO1-10\"></co>"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's copying conditions."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's copying conditions."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's localization files."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's localization files."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's documentation files."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's documentation files."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's modules. Here is where you store parent modules."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's modules. Here is where you store parent modules."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Parent directory of module named hello."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Parent directory of module named hello."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Initialization file of module named hello."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Initialization file of module named hello."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Function related to module named hello."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Function related to module named hello."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's global functions."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's global functions."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's configuration file."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's configuration file."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Script's initialization file."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Script's initialization file."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"parent-module-layout\"/> presents a complete module "
|
|
Alain Reguera Delgado |
cdbf5c |
"layout you can use as reference to create your own module "
|
|
Alain Reguera Delgado |
cdbf5c |
"implementations. However, it is not complete yet. At this point, "
|
|
Alain Reguera Delgado |
cdbf5c |
"when you execute <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, it is able to find out <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module's initialization file and execute it but that "
|
|
Alain Reguera Delgado |
cdbf5c |
"prints an error message because the initialization file doesn't "
|
|
Alain Reguera Delgado |
cdbf5c |
"have a function definition inside. It is completely empty. In order "
|
|
Alain Reguera Delgado |
cdbf5c |
"for <emphasis role=\"strong\">centos-art.sh</emphasis> script to do "
|
|
Alain Reguera Delgado |
cdbf5c |
"something useful, you need to write a function definition inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"the initialization file, as described in
|
|
Alain Reguera Delgado |
cdbf5c |
"init-file\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"parent-module-layout\"/> presents a complete module "
|
|
Alain Reguera Delgado |
cdbf5c |
"layout you can use as reference to create your own module "
|
|
Alain Reguera Delgado |
cdbf5c |
"implementations. However, it is not complete yet. At this point, "
|
|
Alain Reguera Delgado |
cdbf5c |
"when you execute <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, it is able to find out <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module's initialization file and execute it but that "
|
|
Alain Reguera Delgado |
cdbf5c |
"prints an error message because the initialization file doesn't "
|
|
Alain Reguera Delgado |
cdbf5c |
"have a function definition inside. It is completely empty. In order "
|
|
Alain Reguera Delgado |
cdbf5c |
"for <emphasis role=\"strong\">centos-art.sh</emphasis> script to do "
|
|
Alain Reguera Delgado |
cdbf5c |
"something useful, you need to write a function definition inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"the initialization file, as described in
|
|
Alain Reguera Delgado |
cdbf5c |
"init-file\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The Initialization File"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The Initialization File"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The module's initialization file contains the module's main "
|
|
Alain Reguera Delgado |
cdbf5c |
"function definition and a comment describing what it does on top of "
|
|
Alain Reguera Delgado |
cdbf5c |
"it. This comment includes a small description about what the "
|
|
Alain Reguera Delgado |
cdbf5c |
"function does, a written by section, the copyright note and the "
|
|
Alain Reguera Delgado |
cdbf5c |
"legal status of the file. The function definition is set later and "
|
|
Alain Reguera Delgado |
cdbf5c |
"must be written using the long definition format (i.e., it must "
|
|
Alain Reguera Delgado |
cdbf5c |
"begin with the word “<literal>function</literal>,” then the "
|
|
Alain Reguera Delgado |
cdbf5c |
"function name, and finally the “<literal>{</literal>” character). "
|
|
Alain Reguera Delgado |
cdbf5c |
"The name of the function is exactly the same of the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file but without the <literal>.sh</literal> extension. These "
|
|
Alain Reguera Delgado |
cdbf5c |
"conditions are required in order for
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script to execute the function "
|
|
Alain Reguera Delgado |
cdbf5c |
"definition and destroy it when it is no longer used. See
|
|
Alain Reguera Delgado |
cdbf5c |
"linkend=\"initialization-file\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The module's initialization file contains the module's main "
|
|
Alain Reguera Delgado |
cdbf5c |
"function definition and a comment describing what it does on top of "
|
|
Alain Reguera Delgado |
cdbf5c |
"it. This comment includes a small description about what the "
|
|
Alain Reguera Delgado |
cdbf5c |
"function does, a written by section, the copyright note and the "
|
|
Alain Reguera Delgado |
cdbf5c |
"legal status of the file. The function definition is set later and "
|
|
Alain Reguera Delgado |
cdbf5c |
"must be written using the long definition format (i.e., it must "
|
|
Alain Reguera Delgado |
cdbf5c |
"begin with the word “<literal>function</literal>,” then the "
|
|
Alain Reguera Delgado |
cdbf5c |
"function name, and finally the “<literal>{</literal>” character). "
|
|
Alain Reguera Delgado |
cdbf5c |
"The name of the function is exactly the same of the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file but without the <literal>.sh</literal> extension. These "
|
|
Alain Reguera Delgado |
cdbf5c |
"conditions are required in order for
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script to execute the function "
|
|
Alain Reguera Delgado |
cdbf5c |
"definition and destroy it when it is no longer used. See
|
|
Alain Reguera Delgado |
cdbf5c |
"linkend=\"initialization-file\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The function definition is where you write all the commands you "
|
|
Alain Reguera Delgado |
cdbf5c |
"want the module runs, once executed. The function definition can be "
|
|
Alain Reguera Delgado |
cdbf5c |
"as simple as just one single line of code or as complex as you can "
|
|
Alain Reguera Delgado |
cdbf5c |
"imagine. It is the place where you express your solutions. However, "
|
|
Alain Reguera Delgado |
cdbf5c |
"when writing initialization files, it is considered a good practice "
|
|
Alain Reguera Delgado |
cdbf5c |
"to avoid any sort of complexity. Instead, try to write small and "
|
|
Alain Reguera Delgado |
cdbf5c |
"simple initialization files. In case you notice the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file is growing up inevitably, you can reduce its code by "
|
|
Alain Reguera Delgado |
cdbf5c |
"refactoring it. To do this, you can use resources like module "
|
|
Alain Reguera Delgado |
cdbf5c |
"related functions and child modules. These resources are described "
|
|
Alain Reguera Delgado |
cdbf5c |
"in <xref linkend=\"module-optimization\"/>, and they help you to "
|
|
Alain Reguera Delgado |
cdbf5c |
"keep the initialization file in a clean state, easy to understand, "
|
|
Alain Reguera Delgado |
cdbf5c |
"maintain and debug."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The function definition is where you write all the commands you "
|
|
Alain Reguera Delgado |
cdbf5c |
"want the module runs, once executed. The function definition can be "
|
|
Alain Reguera Delgado |
cdbf5c |
"as simple as just one single line of code or as complex as you can "
|
|
Alain Reguera Delgado |
cdbf5c |
"imagine. It is the place where you express your solutions. However, "
|
|
Alain Reguera Delgado |
cdbf5c |
"when writing initialization files, it is considered a good practice "
|
|
Alain Reguera Delgado |
cdbf5c |
"to avoid any sort of complexity. Instead, try to write small and "
|
|
Alain Reguera Delgado |
cdbf5c |
"simple initialization files. In case you notice the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file is growing up inevitably, you can reduce its code by "
|
|
Alain Reguera Delgado |
cdbf5c |
"refactoring it. To do this, you can use resources like module "
|
|
Alain Reguera Delgado |
cdbf5c |
"related functions and child modules. These resources are described "
|
|
Alain Reguera Delgado |
cdbf5c |
"in <xref linkend=\"module-optimization\"/>, and they help you to "
|
|
Alain Reguera Delgado |
cdbf5c |
"keep the initialization file in a clean state, easy to understand, "
|
|
Alain Reguera Delgado |
cdbf5c |
"maintain and debug."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Initialization file used by hello module"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Initialization file used by hello module"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"#!/bin/bash\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"######################################################################\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# hello.sh -- Print out greetings to standard output and exit\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# successfully.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# Written by:\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# * Alain Reguera Delgado <al@centos.org.cu>, 2013\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# Copyright (C) 2009-2013 The CentOS Artwork SIG\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# This program is free software; you can redistribute it and/or modify\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# it under the terms of the GNU General Public License as published by\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# the Free Software Foundation; either version 2 of the License, or (at\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# your option) any later version.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# This program is distributed in the hope that it will be useful, but\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# WITHOUT ANY WARRANTY; without even the implied warranty of\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# General Public License for more details.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# You should have received a copy of the GNU General Public License\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# along with this program; if not, write to the Free Software\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"######################################################################\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"function hello {\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printMessage \"`gettext \"Hello, World!\"`\" --as-stdout-line\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"}"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"#!/bin/bash\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"######################################################################\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# hello.sh -- Print out greetings to standard output and exit\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# successfully.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# Written by:\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# * Alain Reguera Delgado <al@centos.org.cu>, 2013\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# Copyright (C) 2009-2013 The CentOS Artwork SIG\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# This program is free software; you can redistribute it and/or modify\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# it under the terms of the GNU General Public License as published by\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# the Free Software Foundation; either version 2 of the License, or (at\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# your option) any later version.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# This program is distributed in the hope that it will be useful, but\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# WITHOUT ANY WARRANTY; without even the implied warranty of\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# General Public License for more details.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# You should have received a copy of the GNU General Public License\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# along with this program; if not, write to the Free Software\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"#\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"######################################################################\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"function hello {\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printMessage \"`gettext \"Hello, World!\"`\" --as-stdout-line\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"}"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The function definition described in
|
|
Alain Reguera Delgado |
cdbf5c |
"file\"/> uses the <emphasis role=\"strong\">tcar_printMessage</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> global function to print localized versions of the string "
|
|
Alain Reguera Delgado |
cdbf5c |
"“Hello, World!” to standard output. Because there isn't no other "
|
|
Alain Reguera Delgado |
cdbf5c |
"command in the function definition, when the greeting message is "
|
|
Alain Reguera Delgado |
cdbf5c |
"printed out, <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"destroys the <emphasis role=\"strong\">hello</emphasis> module and "
|
|
Alain Reguera Delgado |
cdbf5c |
"exit successfully. This process is more visible when also pass the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—debug</emphasis> option. See
|
|
Alain Reguera Delgado |
cdbf5c |
"linkend=\"debug-parent-modules\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The function definition described in
|
|
Alain Reguera Delgado |
cdbf5c |
"file\"/> uses the <emphasis role=\"strong\">tcar_printMessage</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> global function to print localized versions of the string "
|
|
Alain Reguera Delgado |
cdbf5c |
"“Hello, World!” to standard output. Because there isn't no other "
|
|
Alain Reguera Delgado |
cdbf5c |
"command in the function definition, when the greeting message is "
|
|
Alain Reguera Delgado |
cdbf5c |
"printed out, <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"destroys the <emphasis role=\"strong\">hello</emphasis> module and "
|
|
Alain Reguera Delgado |
cdbf5c |
"exit successfully. This process is more visible when also pass the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—debug</emphasis> option. See
|
|
Alain Reguera Delgado |
cdbf5c |
"linkend=\"debug-parent-modules\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Congratulations! You've implemented a module environment inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script. With the "
|
|
Alain Reguera Delgado |
cdbf5c |
"information you have so far, you are able to create your own module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment implementations. The next section delves into available "
|
|
Alain Reguera Delgado |
cdbf5c |
"resources you can use to simplify module environments when the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file starts growing inevitably and complexity "
|
|
Alain Reguera Delgado |
cdbf5c |
"daemons begin hammering your head."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Congratulations! You've implemented a module environment inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script. With the "
|
|
Alain Reguera Delgado |
cdbf5c |
"information you have so far, you are able to create your own module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment implementations. The next section delves into available "
|
|
Alain Reguera Delgado |
cdbf5c |
"resources you can use to simplify module environments when the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file starts growing inevitably and complexity "
|
|
Alain Reguera Delgado |
cdbf5c |
"daemons begin hammering your head."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Module Optimization"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Module Optimization"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"provides four resources you can use to optimize your module "
|
|
Alain Reguera Delgado |
cdbf5c |
"implementations. These resources are “related functions,” “child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules,” “sibling modules” and “recursive modules”."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"provides four resources you can use to optimize your module "
|
|
Alain Reguera Delgado |
cdbf5c |
"implementations. These resources are “related functions,” “child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules,” “sibling modules” and “recursive modules”."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Related Functions"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Related Functions"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Related functions are very useful when you need to simplify the "
|
|
Alain Reguera Delgado |
cdbf5c |
"function definition of one initialization file. For example, "
|
|
Alain Reguera Delgado |
cdbf5c |
"consider extending the <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module so it is able to interpret arguments passed through the "
|
|
Alain Reguera Delgado |
cdbf5c |
"command-line. Now, inside the initialization file, we have some "
|
|
Alain Reguera Delgado |
cdbf5c |
"variable definitions, one function call to a module related "
|
|
Alain Reguera Delgado |
cdbf5c |
"function named <emphasis role=\"strong\">hello_getOptions</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, and a decision on how the greeting message must be "
|
|
Alain Reguera Delgado |
cdbf5c |
"printed out based on the collected actions. See
|
|
Alain Reguera Delgado |
cdbf5c |
"\"initialization-file-extended\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Related functions are very useful when you need to simplify the "
|
|
Alain Reguera Delgado |
cdbf5c |
"function definition of one initialization file. For example, "
|
|
Alain Reguera Delgado |
cdbf5c |
"consider extending the <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module so it is able to interpret arguments passed through the "
|
|
Alain Reguera Delgado |
cdbf5c |
"command-line. Now, inside the initialization file, we have some "
|
|
Alain Reguera Delgado |
cdbf5c |
"variable definitions, one function call to a module related "
|
|
Alain Reguera Delgado |
cdbf5c |
"function named <emphasis role=\"strong\">hello_getOptions</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, and a decision on how the greeting message must be "
|
|
Alain Reguera Delgado |
cdbf5c |
"printed out based on the collected actions. See
|
|
Alain Reguera Delgado |
cdbf5c |
"\"initialization-file-extended\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Initialization file used by hello module (extended)"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Initialization file used by hello module (extended)"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"function hello {\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define default greeting message.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local HELLO_WORLD=\"`gettext \"Hello, World!\"`\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define actions variable. Here is where actions related to\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # module-specific options are stored in for further processing.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local ACTIONS=''\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Interpret module-specific options and store related actions.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Print greeting message\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" if [[ -z ${ACTIONS} ]];then\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Using parent module.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printMessage \"${HELLO_WORLD}\" --as-stdout-line\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" else\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Using child module.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_setModuleEnvironment -m 'output' -t 'child'\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" fi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"}"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"function hello {\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define default greeting message.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local HELLO_WORLD=\"`gettext \"Hello, World!\"`\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define actions variable. Here is where actions related to\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # module-specific options are stored in for further processing.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local ACTIONS=''\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Interpret module-specific options and store related actions.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Print greeting message\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" if [[ -z ${ACTIONS} ]];then\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Using parent module.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printMessage \"${HELLO_WORLD}\" --as-stdout-line\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" else\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Using child module.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_setModuleEnvironment -m 'output' -t 'child'\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" fi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"}"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When you execute the command <emphasis role=\"strong\">centos-art."
|
|
Alain Reguera Delgado |
cdbf5c |
"sh hello</emphasis> with the <emphasis role=\"strong\">—"
|
|
Alain Reguera Delgado |
cdbf5c |
"greeting=hi</emphasis> argument, <emphasis role=\"strong\">centos-"
|
|
Alain Reguera Delgado |
cdbf5c |
"art.sh</emphasis> stores module-specific arguments inside the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>TCAR_MODULE_ARGUMENT</literal> variable, creates a list of "
|
|
Alain Reguera Delgado |
cdbf5c |
"all function definitions inside the module directory and exports "
|
|
Alain Reguera Delgado |
cdbf5c |
"them. This includes the function definition of the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file itself. Then <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> executes the function definition set inside the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file and leaves all other function definitions, "
|
|
Alain Reguera Delgado |
cdbf5c |
"already in memory, waiting for further execution. At this point, "
|
|
Alain Reguera Delgado |
cdbf5c |
"the <emphasis role=\"strong\">hello</emphasis> initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"function sets some default values and execute the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello_getOptions</emphasis> function to parse all the "
|
|
Alain Reguera Delgado |
cdbf5c |
"arguments passed through the command-line and redefines the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>ACTIONS</literal> variable based on them. Using the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>ACTIONS</literal> variables it decides whether to print "
|
|
Alain Reguera Delgado |
cdbf5c |
"the greeting message immediately or execute the child modules named "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">output</emphasis> so it decides what to "
|
|
Alain Reguera Delgado |
cdbf5c |
"do with the information collected so far."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When you execute the command <emphasis role=\"strong\">centos-art."
|
|
Alain Reguera Delgado |
cdbf5c |
"sh hello</emphasis> with the <emphasis role=\"strong\">—"
|
|
Alain Reguera Delgado |
cdbf5c |
"greeting=hi</emphasis> argument, <emphasis role=\"strong\">centos-"
|
|
Alain Reguera Delgado |
cdbf5c |
"art.sh</emphasis> stores module-specific arguments inside the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>TCAR_MODULE_ARGUMENT</literal> variable, creates a list of "
|
|
Alain Reguera Delgado |
cdbf5c |
"all function definitions inside the module directory and exports "
|
|
Alain Reguera Delgado |
cdbf5c |
"them. This includes the function definition of the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"file itself. Then <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> executes the function definition set inside the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file and leaves all other function definitions, "
|
|
Alain Reguera Delgado |
cdbf5c |
"already in memory, waiting for further execution. At this point, "
|
|
Alain Reguera Delgado |
cdbf5c |
"the <emphasis role=\"strong\">hello</emphasis> initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"function sets some default values and execute the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello_getOptions</emphasis> function to parse all the "
|
|
Alain Reguera Delgado |
cdbf5c |
"arguments passed through the command-line and redefines the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>ACTIONS</literal> variable based on them. Using the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>ACTIONS</literal> variables it decides whether to print "
|
|
Alain Reguera Delgado |
cdbf5c |
"the greeting message immediately or execute the child modules named "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">output</emphasis> so it decides what to "
|
|
Alain Reguera Delgado |
cdbf5c |
"do with the information collected so far."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"hello_getOptions-definition\"/> defines the options "
|
|
Alain Reguera Delgado |
cdbf5c |
"you can pass to <emphasis role=\"strong\">hello</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"and the associated actions they must perform for each of them. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Actions aren't immediately executed here. Instead, they are stored "
|
|
Alain Reguera Delgado |
cdbf5c |
"in the <literal>ACTIONS</literal> variable for further processing "
|
|
Alain Reguera Delgado |
cdbf5c |
"(e.g., we store the names of the modules we want to execute later). "
|
|
Alain Reguera Delgado |
cdbf5c |
"The <literal>ACTIONS</literal> variable was defined in the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file so it has a global scope inside the module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment and is reachable from any related function executed "
|
|
Alain Reguera Delgado |
cdbf5c |
"inside it. Storing the actions this way lets the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module to collect information about "
|
|
Alain Reguera Delgado |
cdbf5c |
"different actions and execute them all in just one command. When "
|
|
Alain Reguera Delgado |
cdbf5c |
"all options have been parsed, only non-option arguments remain in "
|
|
Alain Reguera Delgado |
cdbf5c |
"the <literal>TCAR_MODULE_ARGUMENT</literal> variable."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"hello_getOptions-definition\"/> defines the options "
|
|
Alain Reguera Delgado |
cdbf5c |
"you can pass to <emphasis role=\"strong\">hello</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"and the associated actions they must perform for each of them. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Actions aren't immediately executed here. Instead, they are stored "
|
|
Alain Reguera Delgado |
cdbf5c |
"in the <literal>ACTIONS</literal> variable for further processing "
|
|
Alain Reguera Delgado |
cdbf5c |
"(e.g., we store the names of the modules we want to execute later). "
|
|
Alain Reguera Delgado |
cdbf5c |
"The <literal>ACTIONS</literal> variable was defined in the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file so it has a global scope inside the module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment and is reachable from any related function executed "
|
|
Alain Reguera Delgado |
cdbf5c |
"inside it. Storing the actions this way lets the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module to collect information about "
|
|
Alain Reguera Delgado |
cdbf5c |
"different actions and execute them all in just one command. When "
|
|
Alain Reguera Delgado |
cdbf5c |
"all options have been parsed, only non-option arguments remain in "
|
|
Alain Reguera Delgado |
cdbf5c |
"the <literal>TCAR_MODULE_ARGUMENT</literal> variable."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Related function definition (hello_getOptions)"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Related function definition (hello_getOptions)"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"function hello_getOptions {\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define short options we want to support.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local ARGSS=\"h::,v,g:,l,u,c,r\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define long options we want to support.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local ARGSL=\"help::,version,greeting:,lower,upper,camel,random\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Redefine arguments using getopt(1) command parser.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_setModuleArguments\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Reset positional parameters on this function, using output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # produced from (getopt) arguments parser.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" eval set -- \"${TCAR_MODULE_ARGUMENT}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Look for options passed through command-line.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" while true; do\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" case \"${1}\" in\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -h | --help )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printHelp \"${2}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -v | --version )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printVersion \"${TCAR_MODULE_NAME}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -g | --greeting )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" HELLO_WORLD=\"${2:-${HELLO_WORLD}}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 2\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -l | --lower )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"lower ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -u | --upper )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"upper ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -c | --camel )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"camel ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -r | --random )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"random ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -- )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" break\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" esac\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" done\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Redefine arguments using current positional parameters. Only\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # paths should remain as arguments, at this point.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" TCAR_MODULE_ARGUMENT=\"${@}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"}"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"function hello_getOptions {\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define short options we want to support.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local ARGSS=\"h::,v,g:,l,u,c,r\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Define long options we want to support.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" local ARGSL=\"help::,version,greeting:,lower,upper,camel,random\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Redefine arguments using getopt(1) command parser.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_setModuleArguments\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Reset positional parameters on this function, using output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # produced from (getopt) arguments parser.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" eval set -- \"${TCAR_MODULE_ARGUMENT}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Look for options passed through command-line.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" while true; do\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" case \"${1}\" in\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -h | --help )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printHelp \"${2}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -v | --version )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" tcar_printVersion \"${TCAR_MODULE_NAME}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -g | --greeting )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" HELLO_WORLD=\"${2:-${HELLO_WORLD}}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 2\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -l | --lower )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"lower ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -u | --upper )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"upper ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -c | --camel )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"camel ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -r | --random )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ACTIONS=\"random ${ACTIONS}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" -- )\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" shift 1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" break\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" ;;\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" esac\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" done\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # Redefine arguments using current positional parameters. Only\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" # paths should remain as arguments, at this point.\n"
|
|
Alain Reguera Delgado |
cdbf5c |
" TCAR_MODULE_ARGUMENT=\"${@}\"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"}"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"hello_getOptions-definition\"/> presents the "
|
|
Alain Reguera Delgado |
cdbf5c |
"standard construction we use inside
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script for parsing arguments passed "
|
|
Alain Reguera Delgado |
cdbf5c |
"through the command-line in a per-module basis. As convention, all "
|
|
Alain Reguera Delgado |
cdbf5c |
"the parent modules you write must be able to interpret the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—help</emphasis> and
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">—version</emphasis> options using the construction "
|
|
Alain Reguera Delgado |
cdbf5c |
"described here."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"hello_getOptions-definition\"/> presents the "
|
|
Alain Reguera Delgado |
cdbf5c |
"standard construction we use inside
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script for parsing arguments passed "
|
|
Alain Reguera Delgado |
cdbf5c |
"through the command-line in a per-module basis. As convention, all "
|
|
Alain Reguera Delgado |
cdbf5c |
"the parent modules you write must be able to interpret the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—help</emphasis> and
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">—version</emphasis> options using the construction "
|
|
Alain Reguera Delgado |
cdbf5c |
"described here."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Related functions are very useful when you are refactoring the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file of a module. However, they aren't so efficient "
|
|
Alain Reguera Delgado |
cdbf5c |
"when you need to execute them at demand (e.g., based on specific "
|
|
Alain Reguera Delgado |
cdbf5c |
"conditions). When a module is executed, related functions are "
|
|
Alain Reguera Delgado |
cdbf5c |
"exported to <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script execution environment. They remain there, consuming memory, "
|
|
Alain Reguera Delgado |
cdbf5c |
"until the module they belong to is destroyed. If you create a "
|
|
Alain Reguera Delgado |
cdbf5c |
"related function and never execute it, it will consume memory, as "
|
|
Alain Reguera Delgado |
cdbf5c |
"well. So, use related functions when you are absolutely sure they "
|
|
Alain Reguera Delgado |
cdbf5c |
"will be executed at some point, in one single iteration of "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script. If you "
|
|
Alain Reguera Delgado |
cdbf5c |
"need to execute functions at demand, use child modules, instead."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Related functions are very useful when you are refactoring the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file of a module. However, they aren't so efficient "
|
|
Alain Reguera Delgado |
cdbf5c |
"when you need to execute them at demand (e.g., based on specific "
|
|
Alain Reguera Delgado |
cdbf5c |
"conditions). When a module is executed, related functions are "
|
|
Alain Reguera Delgado |
cdbf5c |
"exported to <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script execution environment. They remain there, consuming memory, "
|
|
Alain Reguera Delgado |
cdbf5c |
"until the module they belong to is destroyed. If you create a "
|
|
Alain Reguera Delgado |
cdbf5c |
"related function and never execute it, it will consume memory, as "
|
|
Alain Reguera Delgado |
cdbf5c |
"well. So, use related functions when you are absolutely sure they "
|
|
Alain Reguera Delgado |
cdbf5c |
"will be executed at some point, in one single iteration of "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script. If you "
|
|
Alain Reguera Delgado |
cdbf5c |
"need to execute functions at demand, use child modules, instead."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Child Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Child Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child modules are initiated by executing the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">tcar_setModuleEnvironment</emphasis> function with the
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">-t child</emphasis> option set on it. Child modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"have the characteristic of being nested modules. They cannot be "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed from the command-line. Normally, child modules are "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed from parent modules but they can be executed from other "
|
|
Alain Reguera Delgado |
cdbf5c |
"child modules, too. When several child modules are executed in one "
|
|
Alain Reguera Delgado |
cdbf5c |
"single iteration of <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, they create a chain of modules. A chain of modules is "
|
|
Alain Reguera Delgado |
cdbf5c |
"very useful in situations where you want to divide one large task "
|
|
Alain Reguera Delgado |
cdbf5c |
"into smaller tasks and also control which of these smaller tasks is "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed based on specific conditions (e.g., you may want to render "
|
|
Alain Reguera Delgado |
cdbf5c |
"images or documentation, but not both, in one single iteration of "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script). In a "
|
|
Alain Reguera Delgado |
cdbf5c |
"chain of modules, lower modules in the chain (those started last) "
|
|
Alain Reguera Delgado |
cdbf5c |
"have access to information set by modules higher in the chain "
|
|
Alain Reguera Delgado |
cdbf5c |
"(those started first), but not the opposite. When processing "
|
|
Alain Reguera Delgado |
cdbf5c |
"information this way, modules aren't destroyed until the last "
|
|
Alain Reguera Delgado |
cdbf5c |
"module executed in the chain has finished its work (e.g., all the "
|
|
Alain Reguera Delgado |
cdbf5c |
"commands inside it have been executed). At that point, child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules are destroyed in the reverse order they were executed."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child modules are initiated by executing the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">tcar_setModuleEnvironment</emphasis> function with the
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">-t child</emphasis> option set on it. Child modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"have the characteristic of being nested modules. They cannot be "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed from the command-line. Normally, child modules are "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed from parent modules but they can be executed from other "
|
|
Alain Reguera Delgado |
cdbf5c |
"child modules, too. When several child modules are executed in one "
|
|
Alain Reguera Delgado |
cdbf5c |
"single iteration of <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>, they create a chain of modules. A chain of modules is "
|
|
Alain Reguera Delgado |
cdbf5c |
"very useful in situations where you want to divide one large task "
|
|
Alain Reguera Delgado |
cdbf5c |
"into smaller tasks and also control which of these smaller tasks is "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed based on specific conditions (e.g., you may want to render "
|
|
Alain Reguera Delgado |
cdbf5c |
"images or documentation, but not both, in one single iteration of "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script). In a "
|
|
Alain Reguera Delgado |
cdbf5c |
"chain of modules, lower modules in the chain (those started last) "
|
|
Alain Reguera Delgado |
cdbf5c |
"have access to information set by modules higher in the chain "
|
|
Alain Reguera Delgado |
cdbf5c |
"(those started first), but not the opposite. When processing "
|
|
Alain Reguera Delgado |
cdbf5c |
"information this way, modules aren't destroyed until the last "
|
|
Alain Reguera Delgado |
cdbf5c |
"module executed in the chain has finished its work (e.g., all the "
|
|
Alain Reguera Delgado |
cdbf5c |
"commands inside it have been executed). At that point, child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules are destroyed in the reverse order they were executed."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"For example, when you execute the <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module with both <emphasis role=\"strong\">—debug</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> and <emphasis role=\"strong\">—upper</emphasis> option, "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script creates a "
|
|
Alain Reguera Delgado |
cdbf5c |
"chain of three modules to produce the greeting message. Firstly, it "
|
|
Alain Reguera Delgado |
cdbf5c |
"begins by executing the parent module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">hello</emphasis>, then it continues with the child module named "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">output</emphasis> which in turn executes "
|
|
Alain Reguera Delgado |
cdbf5c |
"the child module name <emphasis role=\"strong\">lower</emphasis> to "
|
|
Alain Reguera Delgado |
cdbf5c |
"finally print the expected greeting message. In this example, the "
|
|
Alain Reguera Delgado |
cdbf5c |
"module named <emphasis role=\"strong\">lower</emphasis> is the last "
|
|
Alain Reguera Delgado |
cdbf5c |
"module in the chain of executed modules. It has access to all "
|
|
Alain Reguera Delgado |
cdbf5c |
"information defined by earlier modules (e.g., in
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> and <emphasis role=\"strong\">output</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> modules) and none of its earlier modules will be "
|
|
Alain Reguera Delgado |
cdbf5c |
"destroyed until it has finished its work. This process becomes more "
|
|
Alain Reguera Delgado |
cdbf5c |
"visible when you take a look at
|
|
Alain Reguera Delgado |
cdbf5c |
"\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"For example, when you execute the <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module with both <emphasis role=\"strong\">—debug</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> and <emphasis role=\"strong\">—upper</emphasis> option, "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">centos-art.sh</emphasis> script creates a "
|
|
Alain Reguera Delgado |
cdbf5c |
"chain of three modules to produce the greeting message. Firstly, it "
|
|
Alain Reguera Delgado |
cdbf5c |
"begins by executing the parent module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">hello</emphasis>, then it continues with the child module named "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">output</emphasis> which in turn executes "
|
|
Alain Reguera Delgado |
cdbf5c |
"the child module name <emphasis role=\"strong\">lower</emphasis> to "
|
|
Alain Reguera Delgado |
cdbf5c |
"finally print the expected greeting message. In this example, the "
|
|
Alain Reguera Delgado |
cdbf5c |
"module named <emphasis role=\"strong\">lower</emphasis> is the last "
|
|
Alain Reguera Delgado |
cdbf5c |
"module in the chain of executed modules. It has access to all "
|
|
Alain Reguera Delgado |
cdbf5c |
"information defined by earlier modules (e.g., in
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> and <emphasis role=\"strong\">output</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> modules) and none of its earlier modules will be "
|
|
Alain Reguera Delgado |
cdbf5c |
"destroyed until it has finished its work. This process becomes more "
|
|
Alain Reguera Delgado |
cdbf5c |
"visible when you take a look at
|
|
Alain Reguera Delgado |
cdbf5c |
"\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Debugging execution of child modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Debugging execution of child modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_ARGUMENT --upper --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT -------------------------> hello --upper --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT =========================> [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_NAME [1]=output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_LIST output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAIN output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT export -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT -------------------------> output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT =========================> [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_NAME [2]=upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Upper/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Upper/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Upper/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Upper/upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TEXTDOMAIN upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT export -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT -------------------------> upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"HI\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <------------------------- upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <========================= [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <------------------------- output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <========================= [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_ARGUMENT --upper --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT -------------------------> hello --upper --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT =========================> [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_NAME [1]=output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_LIST output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAIN output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT export -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT -------------------------> output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT =========================> [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_NAME [2]=upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:41 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Upper/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Upper/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Upper/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Upper/upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TEXTDOMAIN upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT export -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT -------------------------> upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"HI\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <------------------------- upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <========================= [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <------------------------- output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <========================= [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:52:42 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The module environment described in
|
|
Alain Reguera Delgado |
cdbf5c |
"modules\"/> shows the child modules' ability of reducing scope as "
|
|
Alain Reguera Delgado |
cdbf5c |
"they get deeper in the chain of executed modules. However, child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules lack the possibility of nest modules that share the same "
|
|
Alain Reguera Delgado |
cdbf5c |
"scope. For example, in the <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module described above, you cannot execute the modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">lower</emphasis> or
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">upper</emphasis> from <emphasis role=\"strong\">camel</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module, as if they were child modules of it. That is not "
|
|
Alain Reguera Delgado |
cdbf5c |
"possible because they all have the same scope, which is, to print "
|
|
Alain Reguera Delgado |
cdbf5c |
"the greeting message to standard output. Child modules are "
|
|
Alain Reguera Delgado |
cdbf5c |
"conceived to reduce the module scope as new child modules are "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed. When you need to execute new module environments and, "
|
|
Alain Reguera Delgado |
cdbf5c |
"also, retain the last scope from which the new module is executed, "
|
|
Alain Reguera Delgado |
cdbf5c |
"you need to use “<emphasis>sibling modules</emphasis>,” instead."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The module environment described in
|
|
Alain Reguera Delgado |
cdbf5c |
"modules\"/> shows the child modules' ability of reducing scope as "
|
|
Alain Reguera Delgado |
cdbf5c |
"they get deeper in the chain of executed modules. However, child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules lack the possibility of nest modules that share the same "
|
|
Alain Reguera Delgado |
cdbf5c |
"scope. For example, in the <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module described above, you cannot execute the modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">lower</emphasis> or
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">upper</emphasis> from <emphasis role=\"strong\">camel</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module, as if they were child modules of it. That is not "
|
|
Alain Reguera Delgado |
cdbf5c |
"possible because they all have the same scope, which is, to print "
|
|
Alain Reguera Delgado |
cdbf5c |
"the greeting message to standard output. Child modules are "
|
|
Alain Reguera Delgado |
cdbf5c |
"conceived to reduce the module scope as new child modules are "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed. When you need to execute new module environments and, "
|
|
Alain Reguera Delgado |
cdbf5c |
"also, retain the last scope from which the new module is executed, "
|
|
Alain Reguera Delgado |
cdbf5c |
"you need to use “<emphasis>sibling modules</emphasis>,” instead."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Sibling Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Sibling Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Sibling modules are initiated by executing the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">tcar_setModuleEnvironment</emphasis> function with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">-t sibling</emphasis> option set on it. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Sibling modules are another type of nested modules but, in contrast "
|
|
Alain Reguera Delgado |
cdbf5c |
"with child modules, sibling modules cannot be executed from parent "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. Normally, sibling modules are executed from other sibling "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules but, considering the context, they can be executed from "
|
|
Alain Reguera Delgado |
cdbf5c |
"child module too, to initiate sibling processing. When several "
|
|
Alain Reguera Delgado |
cdbf5c |
"siblings modules are executed, they also build a chain of modules. "
|
|
Alain Reguera Delgado |
cdbf5c |
"In contrast with the chain of child modules, the chain of sibling "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules destroys the last sibling module executed before executing "
|
|
Alain Reguera Delgado |
cdbf5c |
"the next sibling module. This make the chain to stop its growing at "
|
|
Alain Reguera Delgado |
cdbf5c |
"sibling module processing, unless you call a child module from a "
|
|
Alain Reguera Delgado |
cdbf5c |
"sibling module. In this case, the chain expansion would continue as "
|
|
Alain Reguera Delgado |
cdbf5c |
"long as the number of child modules you execute. This process "
|
|
Alain Reguera Delgado |
cdbf5c |
"becomes more visible when you take a look at
|
|
Alain Reguera Delgado |
cdbf5c |
"sibling-modules\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Sibling modules are initiated by executing the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">tcar_setModuleEnvironment</emphasis> function with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">-t sibling</emphasis> option set on it. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Sibling modules are another type of nested modules but, in contrast "
|
|
Alain Reguera Delgado |
cdbf5c |
"with child modules, sibling modules cannot be executed from parent "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. Normally, sibling modules are executed from other sibling "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules but, considering the context, they can be executed from "
|
|
Alain Reguera Delgado |
cdbf5c |
"child module too, to initiate sibling processing. When several "
|
|
Alain Reguera Delgado |
cdbf5c |
"siblings modules are executed, they also build a chain of modules. "
|
|
Alain Reguera Delgado |
cdbf5c |
"In contrast with the chain of child modules, the chain of sibling "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules destroys the last sibling module executed before executing "
|
|
Alain Reguera Delgado |
cdbf5c |
"the next sibling module. This make the chain to stop its growing at "
|
|
Alain Reguera Delgado |
cdbf5c |
"sibling module processing, unless you call a child module from a "
|
|
Alain Reguera Delgado |
cdbf5c |
"sibling module. In this case, the chain expansion would continue as "
|
|
Alain Reguera Delgado |
cdbf5c |
"long as the number of child modules you execute. This process "
|
|
Alain Reguera Delgado |
cdbf5c |
"becomes more visible when you take a look at
|
|
Alain Reguera Delgado |
cdbf5c |
"sibling-modules\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"In <xref linkend=\"debug-sibling-modules\"/>, we've executed the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—greeting=hi</emphasis>,
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">—camel</emphasis>, and <emphasis role=\"strong\">—debug</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> options. In this example,
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module then the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">output</emphasis> module which in turn executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">camel</emphasis> module. At this point, can "
|
|
Alain Reguera Delgado |
cdbf5c |
"appreciate how the chain of modules stop growing. Observe that "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">camel</emphasis> module has gained the "
|
|
Alain Reguera Delgado |
cdbf5c |
"position 2 in the chain of modules and executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">upper</emphasis> module which takes the position 3, as "
|
|
Alain Reguera Delgado |
cdbf5c |
"expected. Now, when <emphasis role=\"strong\">upper</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module finishes its work it is destroyed and the module's counter "
|
|
Alain Reguera Delgado |
cdbf5c |
"is reset to its previous value which is 2 (the one set by
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">camel</emphasis> module). Then,
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">camel</emphasis> executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">lower</emphasis> module which take position 3 at the chain of "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules until it finishes. When it finishes, the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">camel</emphasis> module finishes its work and is "
|
|
Alain Reguera Delgado |
cdbf5c |
"destroyed, then <emphasis role=\"strong\">output</emphasis>, then "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"In <xref linkend=\"debug-sibling-modules\"/>, we've executed the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—greeting=hi</emphasis>,
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">—camel</emphasis>, and <emphasis role=\"strong\">—debug</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> options. In this example,
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module then the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">output</emphasis> module which in turn executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">camel</emphasis> module. At this point, can "
|
|
Alain Reguera Delgado |
cdbf5c |
"appreciate how the chain of modules stop growing. Observe that "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">camel</emphasis> module has gained the "
|
|
Alain Reguera Delgado |
cdbf5c |
"position 2 in the chain of modules and executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">upper</emphasis> module which takes the position 3, as "
|
|
Alain Reguera Delgado |
cdbf5c |
"expected. Now, when <emphasis role=\"strong\">upper</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module finishes its work it is destroyed and the module's counter "
|
|
Alain Reguera Delgado |
cdbf5c |
"is reset to its previous value which is 2 (the one set by
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">camel</emphasis> module). Then,
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">camel</emphasis> executes the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">lower</emphasis> module which take position 3 at the chain of "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules until it finishes. When it finishes, the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">camel</emphasis> module finishes its work and is "
|
|
Alain Reguera Delgado |
cdbf5c |
"destroyed, then <emphasis role=\"strong\">output</emphasis>, then "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Debugging execution of sibling modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Debugging execution of sibling modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_ARGUMENT --camel --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> hello --camel --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [1]=output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAIN output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [2]=camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Camel/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Camel/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Camel/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Camel/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Camel/camel.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAIN camel.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Camel/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [3]=upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE sibling\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Upper/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Upper/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Upper/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Upper/upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAIN upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT <------------------------- upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT unset -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT <========================= [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [3]=lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE sibling\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Lower/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Lower/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Lower/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Lower/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Lower/lower.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TEXTDOMAIN lower.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Lower/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT export -f lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT -------------------------> lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"i\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_ARGUMENT --camel --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:42 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> hello --camel --greeting=hi\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [1]=output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAIN output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [2]=camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Camel/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Camel/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Camel/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Camel/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Camel/camel.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAIN camel.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Camel/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [3]=upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE sibling\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Upper/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Upper/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Upper/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Upper/upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAIN upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Upper/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT export -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT -------------------------> upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT <------------------------- upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT unset -f upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT <========================= [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT =========================> [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_NAME [3]=lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_TYPE sibling\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:43 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Lower/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Lower/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Lower/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Lower/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Lower/lower.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TEXTDOMAIN lower.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Lower/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT export -f lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT -------------------------> lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"i\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f lower\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [3] | camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:51:44 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"debug-sibling-modules\"/> shows a single iteration "
|
|
Alain Reguera Delgado |
cdbf5c |
"of <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"executing different types of modules. Normally, one module is "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed at some point and destroyed at the same point when it has "
|
|
Alain Reguera Delgado |
cdbf5c |
"finished its work, however, what if the next immediate module you "
|
|
Alain Reguera Delgado |
cdbf5c |
"are about to execute is the same module you are about to destroyed? "
|
|
Alain Reguera Delgado |
cdbf5c |
"This is, you need to execute the last module in the chain of "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed modules again, but, this time, from itself. In cases like "
|
|
Alain Reguera Delgado |
cdbf5c |
"this, the <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"doesn't destroy the last module. It cannot, because you are "
|
|
Alain Reguera Delgado |
cdbf5c |
"certainly executing a new module from itself, so it has to wait for "
|
|
Alain Reguera Delgado |
cdbf5c |
"this new call to finish in order to be destroyed. This kind of "
|
|
Alain Reguera Delgado |
cdbf5c |
"processing is known as <emphasis>processing modules recursively.</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"debug-sibling-modules\"/> shows a single iteration "
|
|
Alain Reguera Delgado |
cdbf5c |
"of <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"executing different types of modules. Normally, one module is "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed at some point and destroyed at the same point when it has "
|
|
Alain Reguera Delgado |
cdbf5c |
"finished its work, however, what if the next immediate module you "
|
|
Alain Reguera Delgado |
cdbf5c |
"are about to execute is the same module you are about to destroyed? "
|
|
Alain Reguera Delgado |
cdbf5c |
"This is, you need to execute the last module in the chain of "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed modules again, but, this time, from itself. In cases like "
|
|
Alain Reguera Delgado |
cdbf5c |
"this, the <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"doesn't destroy the last module. It cannot, because you are "
|
|
Alain Reguera Delgado |
cdbf5c |
"certainly executing a new module from itself, so it has to wait for "
|
|
Alain Reguera Delgado |
cdbf5c |
"this new call to finish in order to be destroyed. This kind of "
|
|
Alain Reguera Delgado |
cdbf5c |
"processing is known as <emphasis>processing modules recursively.</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis>"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Recursive Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Recursive Modules"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When one module environment executes itself we are in presence of a "
|
|
Alain Reguera Delgado |
cdbf5c |
"recursive module execution. The execution of modules recursively "
|
|
Alain Reguera Delgado |
cdbf5c |
"doesn't destroy the last module in the chain of executed modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"and doesn't increment or decrement the module counter either. The "
|
|
Alain Reguera Delgado |
cdbf5c |
"module counter is somehow frozen until a different module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment is executed. In these cases, the last module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment remains in memory for the new module execution to make "
|
|
Alain Reguera Delgado |
cdbf5c |
"use of. This process becomes more visible when you take a look at "
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"debug-recursive-modules\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When one module environment executes itself we are in presence of a "
|
|
Alain Reguera Delgado |
cdbf5c |
"recursive module execution. The execution of modules recursively "
|
|
Alain Reguera Delgado |
cdbf5c |
"doesn't destroy the last module in the chain of executed modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"and doesn't increment or decrement the module counter either. The "
|
|
Alain Reguera Delgado |
cdbf5c |
"module counter is somehow frozen until a different module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment is executed. In these cases, the last module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment remains in memory for the new module execution to make "
|
|
Alain Reguera Delgado |
cdbf5c |
"use of. This process becomes more visible when you take a look at "
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"debug-recursive-modules\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When you execute modules recursively, you should be very careful "
|
|
Alain Reguera Delgado |
cdbf5c |
"not to get trapped into an endless loop."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"When you execute modules recursively, you should be very careful "
|
|
Alain Reguera Delgado |
cdbf5c |
"not to get trapped into an endless loop."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"In <xref linkend=\"debug-recursive-modules\"/>, we've executed the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—greeting=hello</emphasis>,
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">—random</emphasis>, and <emphasis role=\"strong\">—"
|
|
Alain Reguera Delgado |
cdbf5c |
"debug</emphasis> options. In this example,
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script executes a parent module named "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> which in turn executes a "
|
|
Alain Reguera Delgado |
cdbf5c |
"child module named <emphasis role=\"strong\">output</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"which in turn executes a child module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">random</emphasis>. At this point, the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">random</emphasis> modules executes itself five times (the number "
|
|
Alain Reguera Delgado |
cdbf5c |
"of characters passed as value to greeting option) to print out "
|
|
Alain Reguera Delgado |
cdbf5c |
"random letters from the greeting message. The output may have no "
|
|
Alain Reguera Delgado |
cdbf5c |
"much sense on itself but the related debugging information helps to "
|
|
Alain Reguera Delgado |
cdbf5c |
"understand the execution of modules recursively."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"In <xref linkend=\"debug-recursive-modules\"/>, we've executed the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> module with the "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">—greeting=hello</emphasis>,
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">—random</emphasis>, and <emphasis role=\"strong\">—"
|
|
Alain Reguera Delgado |
cdbf5c |
"debug</emphasis> options. In this example,
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script executes a parent module named "
|
|
Alain Reguera Delgado |
cdbf5c |
"<emphasis role=\"strong\">hello</emphasis> which in turn executes a "
|
|
Alain Reguera Delgado |
cdbf5c |
"child module named <emphasis role=\"strong\">output</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"which in turn executes a child module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">random</emphasis>. At this point, the
|
|
Alain Reguera Delgado |
cdbf5c |
"\">random</emphasis> modules executes itself five times (the number "
|
|
Alain Reguera Delgado |
cdbf5c |
"of characters passed as value to greeting option) to print out "
|
|
Alain Reguera Delgado |
cdbf5c |
"random letters from the greeting message. The output may have no "
|
|
Alain Reguera Delgado |
cdbf5c |
"much sense on itself but the related debugging information helps to "
|
|
Alain Reguera Delgado |
cdbf5c |
"understand the execution of modules recursively."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Processing execution of modules recursively"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Processing execution of modules recursively"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_ARGUMENT --random --greeting=Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT -------------------------> hello --random --greeting=Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT =========================> [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_NAME [1]=output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_LIST output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAIN output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT -------------------------> output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT =========================> [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_NAME [2]=random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Random/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Random/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Random/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Random/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Random/random.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAIN random.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Random/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT -------------------------> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"l\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"l\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT <------------------------- random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT unset -f random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT <========================= [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT <------------------------- output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT unset -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT <========================= [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT =========================> [0] | main\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_BASEDIR Automation/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_NAME [0]=hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_TYPE parent\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_ARGUMENT --random --greeting=Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_LIST hello|help|locale|prepare|render|tuneup|vcs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:03 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAIN hello.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT -------------------------> hello --random --greeting=Hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT =========================> [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_NAME [1]=output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_LIST output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAIN output.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT -------------------------> output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT =========================> [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_BASEDIR Automation/Modules/Hello/Modules/Output/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_NAME [2]=random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_TYPE child\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_ARGUMENT\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_LIST camel|lower|random|upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR Automation/Modules/Hello/Modules/Output/Modules/Random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MODULES Automation/Modules/Hello/Modules/Output/Modules/Random/Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_MANUALS Automation/Modules/Hello/Modules/Output/Modules/Random/Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_LOCALES Automation/Modules/Hello/Modules/Output/Modules/Random/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_DIR_CONFIGS Automation/Modules/Hello/Modules/Output/Modules/Random/Configs\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TCAR_MODULE_INIT_FILE Automation/Modules/Hello/Modules/Output/Modules/Random/random.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAIN random.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT TEXTDOMAINDIR Automation/Modules/Hello/Modules/Output/Modules/Random/Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT export -f random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT -------------------------> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"l\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"l\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT ~~~~~~~~~~~~~~~~~~~~~~~~~> random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"H\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT <------------------------- random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT unset -f random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT <========================= [2] | output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:04 PM CDT <------------------------- output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT unset -f output\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT <========================= [1] | hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT <------------------------- hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT unset -f hello\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT unset -f hello_getOptions\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"Thu 10 Oct 2013 11:50:05 PM CDT <========================= [0] | main"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Recursive execution of modules occurs only when the module you are "
|
|
Alain Reguera Delgado |
cdbf5c |
"executing is considered sibling of the last module executed in the "
|
|
Alain Reguera Delgado |
cdbf5c |
"chain of executed modules and they both have the same name. The "
|
|
Alain Reguera Delgado |
cdbf5c |
"fact that no variable name is printed out in
|
|
Alain Reguera Delgado |
cdbf5c |
"recursive-modules\"/> means that they were not created. The arrows "
|
|
Alain Reguera Delgado |
cdbf5c |
"change from <literal>-></literal> to <literal>~></literal>, "
|
|
Alain Reguera Delgado |
cdbf5c |
"means that module's related functions weren't exported for the new "
|
|
Alain Reguera Delgado |
cdbf5c |
"module execution either. It also means that the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"script is reusing both related functions and variables from the "
|
|
Alain Reguera Delgado |
cdbf5c |
"last module environment in the chain of executed modules. In this "
|
|
Alain Reguera Delgado |
cdbf5c |
"case the <emphasis role=\"strong\">random</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Recursive execution of modules occurs only when the module you are "
|
|
Alain Reguera Delgado |
cdbf5c |
"executing is considered sibling of the last module executed in the "
|
|
Alain Reguera Delgado |
cdbf5c |
"chain of executed modules and they both have the same name. The "
|
|
Alain Reguera Delgado |
cdbf5c |
"fact that no variable name is printed out in
|
|
Alain Reguera Delgado |
cdbf5c |
"recursive-modules\"/> means that they were not created. The arrows "
|
|
Alain Reguera Delgado |
cdbf5c |
"change from <literal>-></literal> to <literal>~></literal>, "
|
|
Alain Reguera Delgado |
cdbf5c |
"means that module's related functions weren't exported for the new "
|
|
Alain Reguera Delgado |
cdbf5c |
"module execution either. It also means that the initialization "
|
|
Alain Reguera Delgado |
cdbf5c |
"script is reusing both related functions and variables from the "
|
|
Alain Reguera Delgado |
cdbf5c |
"last module environment in the chain of executed modules. In this "
|
|
Alain Reguera Delgado |
cdbf5c |
"case the <emphasis role=\"strong\">random</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This section covered the resources you can use to optimize module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environments inside <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script. The next section summarizes the base files and "
|
|
Alain Reguera Delgado |
cdbf5c |
"directories you might find inside one module environment."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This section covered the resources you can use to optimize module "
|
|
Alain Reguera Delgado |
cdbf5c |
"environments inside <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> script. The next section summarizes the base files and "
|
|
Alain Reguera Delgado |
cdbf5c |
"directories you might find inside one module environment."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "Module Structure"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "Module Structure"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The module structure takes place at the root location of
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">centos-art.sh</emphasis> script, specifically, in a "
|
|
Alain Reguera Delgado |
cdbf5c |
"directory named <literal>Modules</literal>. The <literal>Modules</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal> directory at <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> root location is the highest level which you can store "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules in. Modules stored in this location are known as parent "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. Parent modules can optimize their structure by using "
|
|
Alain Reguera Delgado |
cdbf5c |
"related functions, child modules, sibling modules and recursive "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. Basically, all these types of modules share the same "
|
|
Alain Reguera Delgado |
cdbf5c |
"structure. They all have function files and, optionally, module "
|
|
Alain Reguera Delgado |
cdbf5c |
"related stuff like locales, documentation, configuration and "
|
|
Alain Reguera Delgado |
cdbf5c |
"dependent modules. See <xref linkend=\"module-directory-layout\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The module structure takes place at the root location of
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">centos-art.sh</emphasis> script, specifically, in a "
|
|
Alain Reguera Delgado |
cdbf5c |
"directory named <literal>Modules</literal>. The <literal>Modules</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal> directory at <emphasis role=\"strong\">centos-art.sh</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> root location is the highest level which you can store "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules in. Modules stored in this location are known as parent "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. Parent modules can optimize their structure by using "
|
|
Alain Reguera Delgado |
cdbf5c |
"related functions, child modules, sibling modules and recursive "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. Basically, all these types of modules share the same "
|
|
Alain Reguera Delgado |
cdbf5c |
"structure. They all have function files and, optionally, module "
|
|
Alain Reguera Delgado |
cdbf5c |
"related stuff like locales, documentation, configuration and "
|
|
Alain Reguera Delgado |
cdbf5c |
"dependent modules. See <xref linkend=\"module-directory-layout\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"From version 0.7 on, child modules no longer have <literal>Locales</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal>, <literal>Manuals</literal> and <literal>Configs</literal> "
|
|
Alain Reguera Delgado |
cdbf5c |
"directories inside. Only initialization files, related functions "
|
|
Alain Reguera Delgado |
cdbf5c |
"and <literal>Modules</literal> directory are supported inside child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. See
|
|
Alain Reguera Delgado |
cdbf5c |
"\">Bug 114</ulink>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"From version 0.7 on, child modules no longer have <literal>Locales</"
|
|
Alain Reguera Delgado |
cdbf5c |
"literal>, <literal>Manuals</literal> and <literal>Configs</literal> "
|
|
Alain Reguera Delgado |
cdbf5c |
"directories inside. Only initialization files, related functions "
|
|
Alain Reguera Delgado |
cdbf5c |
"and <literal>Modules</literal> directory are supported inside child "
|
|
Alain Reguera Delgado |
cdbf5c |
"modules. See
|
|
Alain Reguera Delgado |
cdbf5c |
"\">Bug 114</ulink>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The directory structure of hello module"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The directory structure of hello module"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#, no-wrap
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
".\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- COPYING\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Locales/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Manuals/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Modules/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- Hello/ <co id=\"CO2-1\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- es_ES\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- LC_MESSAGES\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- hello.sh.mo <co id=\"CO2-2\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- hello.sh.po\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- hello.sh.pot\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- hello.asciidoc\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- man1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- hello.1 <co id=\"CO2-3\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- render.conf <co id=\"CO2-4\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- Output <co id=\"CO2-5\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- Camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- camel.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- Lower <co id=\"CO2-6\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- lower.sh <co id=\"CO2-7\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- Random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- random.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- Upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- output.sh <co id=\"CO2-8\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- hello.sh <co id=\"CO2-9\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- hello_getOptions.sh <co id=\"CO2-10\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Scripts/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- centos-art.conf.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"`-- centos-art.sh"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
".\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- COPYING\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Locales/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Manuals/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Modules/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- Hello/ <co id=\"CO2-1\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- Locales\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- es_ES\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- LC_MESSAGES\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- hello.sh.mo <co id=\"CO2-2\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- hello.sh.po\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- hello.sh.pot\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- Manuals\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- hello.asciidoc\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- man1\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- hello.1 <co id=\"CO2-3\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- render.conf <co id=\"CO2-4\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- Output <co id=\"CO2-5\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | |-- Modules\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- Camel\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- camel.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- Lower <co id=\"CO2-6\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- lower.sh <co id=\"CO2-7\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | |-- Random\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | | `-- random.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- Upper\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | | `-- upper.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| | `-- output.sh <co id=\"CO2-8\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| |-- hello.sh <co id=\"CO2-9\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"| `-- hello_getOptions.sh <co id=\"CO2-10\"></co>\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- Scripts/\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"|-- centos-art.conf.sh\n"
|
|
Alain Reguera Delgado |
cdbf5c |
"`-- centos-art.sh"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child module of <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script and parent module of <emphasis role=\"strong\">output</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child module of <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script and parent module of <emphasis role=\"strong\">output</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Spanish translated strings of <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Spanish translated strings of <emphasis role=\"strong\">hello</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Manpage shown when you request help of
|
|
Alain Reguera Delgado |
cdbf5c |
"\">hello</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Manpage shown when you request help of
|
|
Alain Reguera Delgado |
cdbf5c |
"\">hello</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Configuration file used to produce the manpage of
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Configuration file used to produce the manpage of
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child module of <emphasis role=\"strong\">hello</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"and parent module of <emphasis role=\"strong\">camel,</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis><emphasis role=\"strong\">lower,</emphasis>
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">random</emphasis> and <emphasis role=\"strong\">upper</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> modules."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child module of <emphasis role=\"strong\">hello</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"and parent module of <emphasis role=\"strong\">camel,</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis><emphasis role=\"strong\">lower,</emphasis>
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">random</emphasis> and <emphasis role=\"strong\">upper</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> modules."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child module of <emphasis role=\"strong\">output</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"and sibling module of <emphasis role=\"strong\">camel,</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis><emphasis role=\"strong\">random</emphasis> and
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">upper</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Child module of <emphasis role=\"strong\">output</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"and sibling module of <emphasis role=\"strong\">camel,</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis><emphasis role=\"strong\">random</emphasis> and
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">upper</emphasis> module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Initialization file of <emphasis role=\"strong\">lower</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Initialization file of <emphasis role=\"strong\">lower</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Initialization file of <emphasis role=\"strong\">output</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Initialization file of <emphasis role=\"strong\">output</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Initialization file of <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Initialization file of <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Function file related to <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"Function file related to <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"module-directory-layout\"/> presents a complete "
|
|
Alain Reguera Delgado |
cdbf5c |
"structure for module environments you can use as reference for "
|
|
Alain Reguera Delgado |
cdbf5c |
"writing your own modules. It begins with a parent module directory "
|
|
Alain Reguera Delgado |
cdbf5c |
"named “Hello” which contains an initialization file (“hello.sh”) "
|
|
Alain Reguera Delgado |
cdbf5c |
"and one related function file (“hello_getOptions.sh”). These files "
|
|
Alain Reguera Delgado |
cdbf5c |
"work together with a child module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">output</emphasis> which in turn has four child modules inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"named <emphasis role=\"strong\">camel,</emphasis>
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">lower,</emphasis><emphasis role=\"strong\">random,</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> and <emphasis role=\"strong\">upper.</emphasis> The "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>Locales</literal> directory contains the required "
|
|
Alain Reguera Delgado |
cdbf5c |
"information to print <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"messages in different languages (e.g., it only supports Spanish "
|
|
Alain Reguera Delgado |
cdbf5c |
"language in our example, but it can be extended to other languages "
|
|
Alain Reguera Delgado |
cdbf5c |
"as needed). The <literal>Manuals</literal> directory contains all "
|
|
Alain Reguera Delgado |
cdbf5c |
"the files required to produce documentation for the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module (e.g., the information you read "
|
|
Alain Reguera Delgado |
cdbf5c |
"when provide the <emphasis role=\"strong\">—help</emphasis> option "
|
|
Alain Reguera Delgado |
cdbf5c |
"in the command-line)."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"<xref linkend=\"module-directory-layout\"/> presents a complete "
|
|
Alain Reguera Delgado |
cdbf5c |
"structure for module environments you can use as reference for "
|
|
Alain Reguera Delgado |
cdbf5c |
"writing your own modules. It begins with a parent module directory "
|
|
Alain Reguera Delgado |
cdbf5c |
"named “Hello” which contains an initialization file (“hello.sh”) "
|
|
Alain Reguera Delgado |
cdbf5c |
"and one related function file (“hello_getOptions.sh”). These files "
|
|
Alain Reguera Delgado |
cdbf5c |
"work together with a child module named
|
|
Alain Reguera Delgado |
cdbf5c |
"\">output</emphasis> which in turn has four child modules inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"named <emphasis role=\"strong\">camel,</emphasis>
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">lower,</emphasis><emphasis role=\"strong\">random,</"
|
|
Alain Reguera Delgado |
cdbf5c |
"emphasis> and <emphasis role=\"strong\">upper.</emphasis> The "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>Locales</literal> directory contains the required "
|
|
Alain Reguera Delgado |
cdbf5c |
"information to print <emphasis role=\"strong\">hello</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"messages in different languages (e.g., it only supports Spanish "
|
|
Alain Reguera Delgado |
cdbf5c |
"language in our example, but it can be extended to other languages "
|
|
Alain Reguera Delgado |
cdbf5c |
"as needed). The <literal>Manuals</literal> directory contains all "
|
|
Alain Reguera Delgado |
cdbf5c |
"the files required to produce documentation for the
|
|
Alain Reguera Delgado |
cdbf5c |
"\"strong\">hello</emphasis> module (e.g., the information you read "
|
|
Alain Reguera Delgado |
cdbf5c |
"when provide the <emphasis role=\"strong\">—help</emphasis> option "
|
|
Alain Reguera Delgado |
cdbf5c |
"in the command-line)."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The Function Files"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The Function Files"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The function files are used to create the initialization file of a "
|
|
Alain Reguera Delgado |
cdbf5c |
"module and the related functions of it. As convention, both "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file and related function files are stored in the "
|
|
Alain Reguera Delgado |
cdbf5c |
"module's directory, see <xref linkend=\"module-directory-layout\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"The function files are used to create the initialization file of a "
|
|
Alain Reguera Delgado |
cdbf5c |
"module and the related functions of it. As convention, both "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file and related function files are stored in the "
|
|
Alain Reguera Delgado |
cdbf5c |
"module's directory, see <xref linkend=\"module-directory-layout\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"At execution time, the definition of related function are exported "
|
|
Alain Reguera Delgado |
cdbf5c |
"to <emphasis role=\"strong\">centos-art.sh</emphasis> execution "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment before executing the function definition set inside the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file, so related functions are always available for "
|
|
Alain Reguera Delgado |
cdbf5c |
"you to use in the initialization file file and other related "
|
|
Alain Reguera Delgado |
cdbf5c |
"functions as well. This is rather useful when you are refactoring "
|
|
Alain Reguera Delgado |
cdbf5c |
"your initialization scripts and probably related functions as well."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"At execution time, the definition of related function are exported "
|
|
Alain Reguera Delgado |
cdbf5c |
"to <emphasis role=\"strong\">centos-art.sh</emphasis> execution "
|
|
Alain Reguera Delgado |
cdbf5c |
"environment before executing the function definition set inside the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file, so related functions are always available for "
|
|
Alain Reguera Delgado |
cdbf5c |
"you to use in the initialization file file and other related "
|
|
Alain Reguera Delgado |
cdbf5c |
"functions as well. This is rather useful when you are refactoring "
|
|
Alain Reguera Delgado |
cdbf5c |
"your initialization scripts and probably related functions as well."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"As naming convention, related function files are written using the "
|
|
Alain Reguera Delgado |
cdbf5c |
"module's name, then an underscore (“_”), then a descriptive name "
|
|
Alain Reguera Delgado |
cdbf5c |
"and, finally, the “<literal>.sh</literal>” extension. The function "
|
|
Alain Reguera Delgado |
cdbf5c |
"definition inside the function file also follows this convention "
|
|
Alain Reguera Delgado |
cdbf5c |
"but excludes the “<literal>.sh</literal>” extension from name (e."
|
|
Alain Reguera Delgado |
cdbf5c |
"g., the function file “<literal>hello_getOptions.sh</literal>” has "
|
|
Alain Reguera Delgado |
cdbf5c |
"a function definition named “<literal>hello_getOptions</literal>” "
|
|
Alain Reguera Delgado |
cdbf5c |
"inside). The <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script relays in these conventions to export and destroy related "
|
|
Alain Reguera Delgado |
cdbf5c |
"functions when new module environments are created and destroyed. "
|
|
Alain Reguera Delgado |
cdbf5c |
"If you create related function files with a pattern different from "
|
|
Alain Reguera Delgado |
cdbf5c |
"that described here, they will not be executed nor available inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"the initialization file of the module environment being currently "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"As naming convention, related function files are written using the "
|
|
Alain Reguera Delgado |
cdbf5c |
"module's name, then an underscore (“_”), then a descriptive name "
|
|
Alain Reguera Delgado |
cdbf5c |
"and, finally, the “<literal>.sh</literal>” extension. The function "
|
|
Alain Reguera Delgado |
cdbf5c |
"definition inside the function file also follows this convention "
|
|
Alain Reguera Delgado |
cdbf5c |
"but excludes the “<literal>.sh</literal>” extension from name (e."
|
|
Alain Reguera Delgado |
cdbf5c |
"g., the function file “<literal>hello_getOptions.sh</literal>” has "
|
|
Alain Reguera Delgado |
cdbf5c |
"a function definition named “<literal>hello_getOptions</literal>” "
|
|
Alain Reguera Delgado |
cdbf5c |
"inside). The <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script relays in these conventions to export and destroy related "
|
|
Alain Reguera Delgado |
cdbf5c |
"functions when new module environments are created and destroyed. "
|
|
Alain Reguera Delgado |
cdbf5c |
"If you create related function files with a pattern different from "
|
|
Alain Reguera Delgado |
cdbf5c |
"that described here, they will not be executed nor available inside "
|
|
Alain Reguera Delgado |
cdbf5c |
"the initialization file of the module environment being currently "
|
|
Alain Reguera Delgado |
cdbf5c |
"executed."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"See also: <xref linkend=\"module-init-file\"/> and
|
|
Alain Reguera Delgado |
cdbf5c |
"\"related-functions\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"See also: <xref linkend=\"module-init-file\"/> and
|
|
Alain Reguera Delgado |
cdbf5c |
"\"related-functions\"/>."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The <literal>Modules</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The <literal>Modules</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains nested modules (e.g., child modules) and is "
|
|
Alain Reguera Delgado |
cdbf5c |
"used for extending the current module functionality in a modular "
|
|
Alain Reguera Delgado |
cdbf5c |
"way. There isn't a visible limitation in the number of "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>Modules</literal> directory you can nest inside one module "
|
|
Alain Reguera Delgado |
cdbf5c |
"to achieve certain functionality so, you can create as many levels "
|
|
Alain Reguera Delgado |
cdbf5c |
"of <literal>Modules</literal> directories as you need."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains nested modules (e.g., child modules) and is "
|
|
Alain Reguera Delgado |
cdbf5c |
"used for extending the current module functionality in a modular "
|
|
Alain Reguera Delgado |
cdbf5c |
"way. There isn't a visible limitation in the number of "
|
|
Alain Reguera Delgado |
cdbf5c |
"<literal>Modules</literal> directory you can nest inside one module "
|
|
Alain Reguera Delgado |
cdbf5c |
"to achieve certain functionality so, you can create as many levels "
|
|
Alain Reguera Delgado |
cdbf5c |
"of <literal>Modules</literal> directories as you need."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The <literal>Locales</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The <literal>Locales</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains module-specific localization files. The "
|
|
Alain Reguera Delgado |
cdbf5c |
"content of this directory is automatically generated by
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">locale</emphasis> module of
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script, when you execute it using the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file as source and the <emphasis role=\"strong\">—"
|
|
Alain Reguera Delgado |
cdbf5c |
"update —sibling</emphasis> options. Once the localization files "
|
|
Alain Reguera Delgado |
cdbf5c |
"have been created, you need to edit PO files to translate the "
|
|
Alain Reguera Delgado |
cdbf5c |
"strings from English to your preferred language. If the "
|
|
Alain Reguera Delgado |
cdbf5c |
"translatable strings inside the module's source files change, you "
|
|
Alain Reguera Delgado |
cdbf5c |
"need to run the <emphasis role=\"strong\">locale</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"again to update the PO files and repeat the localization process "
|
|
Alain Reguera Delgado |
cdbf5c |
"all over again."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains module-specific localization files. The "
|
|
Alain Reguera Delgado |
cdbf5c |
"content of this directory is automatically generated by
|
|
Alain Reguera Delgado |
cdbf5c |
"role=\"strong\">locale</emphasis> module of
|
|
Alain Reguera Delgado |
cdbf5c |
"\">centos-art.sh</emphasis> script, when you execute it using the "
|
|
Alain Reguera Delgado |
cdbf5c |
"initialization file as source and the <emphasis role=\"strong\">—"
|
|
Alain Reguera Delgado |
cdbf5c |
"update —sibling</emphasis> options. Once the localization files "
|
|
Alain Reguera Delgado |
cdbf5c |
"have been created, you need to edit PO files to translate the "
|
|
Alain Reguera Delgado |
cdbf5c |
"strings from English to your preferred language. If the "
|
|
Alain Reguera Delgado |
cdbf5c |
"translatable strings inside the module's source files change, you "
|
|
Alain Reguera Delgado |
cdbf5c |
"need to run the <emphasis role=\"strong\">locale</emphasis> module "
|
|
Alain Reguera Delgado |
cdbf5c |
"again to update the PO files and repeat the localization process "
|
|
Alain Reguera Delgado |
cdbf5c |
"all over again."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The <literal>Manuals</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The <literal>Manuals</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains module-specific documentation. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Documentation in this directory is written in asciidoc format and "
|
|
Alain Reguera Delgado |
cdbf5c |
"produced through the <emphasis role=\"strong\">render</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module of <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"to different formats, including man pages and html."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains module-specific documentation. "
|
|
Alain Reguera Delgado |
cdbf5c |
"Documentation in this directory is written in asciidoc format and "
|
|
Alain Reguera Delgado |
cdbf5c |
"produced through the <emphasis role=\"strong\">render</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"module of <emphasis role=\"strong\">centos-art.sh</emphasis> script "
|
|
Alain Reguera Delgado |
cdbf5c |
"to different formats, including man pages and html."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "The <literal>Configs</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "The <literal>Configs</literal> Directory"
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains module-specific configuration. Some modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"(e.g., “tuneup”) need to store auxiliary files required to achieve "
|
|
Alain Reguera Delgado |
cdbf5c |
"its main goal (e.g., the “tuneup” module uses sed files to "
|
|
Alain Reguera Delgado |
cdbf5c |
"transform the top-comment of scripts each time it is executed, the "
|
|
Alain Reguera Delgado |
cdbf5c |
"sed file itself is stored in this directory). Whenever you need to "
|
|
Alain Reguera Delgado |
cdbf5c |
"make reference to a file inside this directory, use the "
|
|
Alain Reguera Delgado |
cdbf5c |
"“TCAR_MODULE_DIR_CONFIGS” variable. This variable provides the "
|
|
Alain Reguera Delgado |
cdbf5c |
"absolute path of module-related configuration file."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This directory contains module-specific configuration. Some modules "
|
|
Alain Reguera Delgado |
cdbf5c |
"(e.g., “tuneup”) need to store auxiliary files required to achieve "
|
|
Alain Reguera Delgado |
cdbf5c |
"its main goal (e.g., the “tuneup” module uses sed files to "
|
|
Alain Reguera Delgado |
cdbf5c |
"transform the top-comment of scripts each time it is executed, the "
|
|
Alain Reguera Delgado |
cdbf5c |
"sed file itself is stored in this directory). Whenever you need to "
|
|
Alain Reguera Delgado |
cdbf5c |
"make reference to a file inside this directory, use the "
|
|
Alain Reguera Delgado |
cdbf5c |
"“TCAR_MODULE_DIR_CONFIGS” variable. This variable provides the "
|
|
Alain Reguera Delgado |
cdbf5c |
"absolute path of module-related configuration file."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
msgid ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This section has covered the directories and files a module is made "
|
|
Alain Reguera Delgado |
cdbf5c |
"of inside the <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script."
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr ""
|
|
Alain Reguera Delgado |
cdbf5c |
"This section has covered the directories and files a module is made "
|
|
Alain Reguera Delgado |
cdbf5c |
"of inside the <emphasis role=\"strong\">centos-art.sh</emphasis> "
|
|
Alain Reguera Delgado |
cdbf5c |
"script."
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
|
|
Alain Reguera Delgado |
cdbf5c |
msgid "translator-credits"
|
|
Alain Reguera Delgado |
cdbf5c |
msgstr "translator-credits"
|