I have two functions, one which produces messages like "Starting initialization..." and the other which cheks return codes and outputs "Ok\n", "Warning\n", or "Error\n". However, produced output is of the different length:
Starting initialization...Ok.
Checking init scripts...Ok.
How can I get smth. like that:
Starting initialization... Ok.
Checking init scripts... Ok.
Thanks in advance!