Update cli_checkFiles.sh function:
- Add fourth argument evaluation. This is mainly used for the need
of evaluate files and directories silently without print any
message in order to use the retrun value as reference for
further evaluation. For example, we can do the following:
cli_checkFiles $FILE 'f' '' '--quiet'
if [[ $? -eq 0 ]];then
# File does exist, do something accordingly.
else
# File does not exist, do something accordingly.
fi
to evaluate files and directories without printing the action
message. To print the action message just remove the '--quiet'
option from function invokation argument list.
Update cli_printMessage.sh function:
- Start using output_forRendering.awk as based pattern to output
messages.