e4f9d3 Update cli_printMessage.sh:

Authored and Committed by areguera 13 years ago
    Update cli_printMessage.sh:
    
        - Stop using getopt here and start using first and second argument
          instead. The first argument must be enclosed in double quotes
          and contains the message string. The second argument may or may
          not be quoted and contains the format used to print the message.
    
        - Using getopt here may brings some escaping complications when
          using options like `--post-rendition' and `--last-rendition'
          that may contain command strings. Inside command strings it is
          possible to pass options to the command specified therein. Both
          centos-art.sh options and options passed in the command string
          used to have the same form (e.g., they start with the character
          `-' or `--') and this may confuse getopt.
    
          The confussion may come into place when we pass an option to
          centos-art.sh script that contain a command string which, in
          turn, could have its own options. 
    
          When we pass such argument list to getopt, it interprets the
          whole list of option and non-option arguments passed from
          centos-art.sh script command line and reorganizes it to build
          the final string we later work through a `while true;do case
          "$1" in ... esac;done' loop.  Assuming an option (with or
          without argument) is found in the argument list, it is moved
          from its possition and placed in the left side of `--' as option
          arguments which make the option no longer be part of the command
          string but an option of centos-art.sh script.
    
        - It is not convenient to escape the option character used for
          option recognition (e.g., `-') inside command strings. This
          would escape centos-art.sh script options too and that, would
          make the whole option parsing very difficult of being
          accomplished.