Next: , Previous: , Up: message   [Contents][Index]


10.2 Printing plain messages

Function: mbfl_message_string string

Output a message to the selected output channel. Echo a string composed of: the selected program name, a colon, a space, string. No newline character is appended to the message. Escape characters supported by printf are allowed in string.

Function: mbfl_message_verbose string

Output a message to the selected output channel, but only if the evaluation of the function mbfl_option_verbose() returns true.

Echo a string composed of: the selected program name, a colon, a space, string. No newline character is appended to the message. Escape characters supported by printf are allowed in string.

Function: mbfl_message_verbose_end string

Output a message to the selected output channel, but only if the evaluation of the function mbfl_option_verbose() returns true. Echo the string. No newline character is appended to the message. Escape characters supported by printf are allowed in string.

If string is empty: this function just prints a newline when verbose execution is enabled.

Function: mbfl_message_error string

Output an error message to the selected output channel. Echo a string composed of: the selected program name, a colon, a space, the string error, a colon, a space, string, a newline character. Escape characters supported by printf are allowed in string.

Function: mbfl_message_warning string

Output a warning message to the selected output channel. Echo a string composed of: the selected program name, a colon, a space, the string warning, a colon, a space, string, a newline character. Escape characters supported by printf are allowed in string.

Function: mbfl_message_debug string

Output a message to the selected output channel, but only if the evaluation of the function mbfl_option_debug() returns true. Echo a string composed of: the selected program name, a colon, a space, string, a newline character. Escape characters supported by printf are allowed in string.


Next: , Previous: , Up: message   [Contents][Index]

This document describes version 3.0.0-devel.0 of Marcos Bash Functions Library.