Blame Artworks/Documentation/Docbook/Tcar-ug/Scripts/Bash/nameconvs.docbook
|
Alain Reguera Delgado |
46de3c |
<sect1 id="scripts-bash-nameconvs">
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<title>Convenctions</title>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
...
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<sect2 id="scripts-bash-nameconvs-vars">
|
|
Alain Reguera Delgado |
46de3c |
<title>Variable Names</title>
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
...
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
</sect2>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<sect2 id="scripts-bash-nameconvs-funcs">
|
|
Alain Reguera Delgado |
46de3c |
<title>Function Names</title>
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
...
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
</sect2>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<sect2 id="scripts-bash-nameconvs-exitstatus">
|
|
Alain Reguera Delgado |
46de3c |
<title>Exit Status</title>
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
The <command>centos-art.sh</command> script has the following
|
|
Alain Reguera Delgado |
46de3c |
exit status:
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<itemizedlist>
|
|
Alain Reguera Delgado |
46de3c |
<listitem>
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
0 — The script completed successfully
|
|
Alain Reguera Delgado |
46de3c |
without error.
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
</listitem>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<listitem>
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
1 — The script didn't complete successfully
|
|
Alain Reguera Delgado |
46de3c |
because something went wrong. This error status is generally
|
|
Alain Reguera Delgado |
46de3c |
produced by <function>cli_printMessage</function>
|
|
Alain Reguera Delgado |
46de3c |
functionality, when you use it with the
|
|
Alain Reguera Delgado |
46de3c |
<option>--as-error-line</option> option as second argument.
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
</listitem>
|
|
Alain Reguera Delgado |
46de3c |
</itemizedlist>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<para>
|
|
Alain Reguera Delgado |
46de3c |
...
|
|
Alain Reguera Delgado |
46de3c |
</para>
|
|
Alain Reguera Delgado |
46de3c |
</sect2>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
</sect1>
|