I am unable to concatenate strings having new lines in tcl. The new lines are ignored. Is there a way to overcome this?
% set pst_data "Power states :-\n"
Power states :-
% set pst_data [concat $pst_data "vcc1\t 1 0 1\n"]
Power states :- vcc1 1 0 1
% set pst_data [concat $pst_data "vcc2\t 2 2 0\n"]
Power states :- vcc1 1 0 1 vcc2 2 2 0
%
I want the output to come in separate new lines every time