Blame Documentation/Models/Docbook/Tcar-ug/Scripts/Bash/nameconvs.docbook

7c1a57
<sect1 id="scripts-bash-nameconvs">
3e48e0
61dbc0
    <title>Script Convenctions</title>
3e48e0
3e48e0
    <para>
3e48e0
        ...
3e48e0
    </para>
3e48e0
7c1a57
    <sect2 id="scripts-bash-nameconvs-vars">
61dbc0
    <title>Naming Variables</title>
3e48e0
    <para>
3e48e0
        ...
3e48e0
    </para>
7c1a57
    </sect2>
3e48e0
7c1a57
    <sect2 id="scripts-bash-nameconvs-funcs">
61dbc0
    <title>Naming Functions</title>
3e48e0
    <para>
3e48e0
        ...
3e48e0
    </para>
7c1a57
    </sect2>
3e48e0
61dbc0
    <sect2 id="scripts-bash-nameconvs-exitstatus">
61dbc0
    <title>Exit Status</title>
61dbc0
    <para>
61dbc0
        The <command>centos-art.sh</command> script has the following
61dbc0
        exit status:
61dbc0
    </para>
61dbc0
61dbc0
    <itemizedlist>
61dbc0
    <listitem>
61dbc0
    <para>
61dbc0
        0 — The script completed successfully.
61dbc0
        without error.
61dbc0
    </para>
61dbc0
    </listitem>
61dbc0
61dbc0
    <listitem>
61dbc0
    <para>
61dbc0
        1 — The script didn't complete successfully
61dbc0
        because something went wrong. This error status is generally
61dbc0
        produced by <function>cli_printMessage</function>
61dbc0
        functionality, when you use it with the
61dbc0
        <option>--as-error-line</option> option as second argument.
61dbc0
    </para>
61dbc0
    </listitem>
61dbc0
    </itemizedlist>
61dbc0
61dbc0
    <para>
61dbc0
        ... 
61dbc0
    </para>
61dbc0
    </sect2>
61dbc0
7c1a57
</sect1>