Thank you roboticus; it worked like a charm :)
I can now clearly see the carriage return and newline characters the CLI's spitting out.
Just to follow up, with the line you suggested here's what's produced:
---------------- \0d\0aOK\0d\0aSET INTERFACE NETWORK CLI:0 ENABLE\0d> ----------------
In reply to Re^2: Printing Literal Contents of a Variable
by lyos
in thread Printing Literal Contents of a Variable
by lyos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |