Here follows a work-around to answer the question of "how do I grab complex output on the CLI?"
Should be useful:
thufir@dur:~$
thufir@dur:~$ script xmas
Script started, file is xmas
thufir@dur:~$
thufir@dur:~$ echo Merry && echo Christmas
Merry
Christmas
thufir@dur:~$
thufir@dur:~$ exit
exit
Script done, file is xmas
thufir@dur:~$
thufir@dur:~$ cat xmas
Script started on 2017-10-27 06:37:59-0700
thufir@dur:~$
thufir@dur:~$ echo Merry && echo Christmas
Merry
Christmas
thufir@dur:~$
thufir@dur:~$ exit
exit
Script done on 2017-10-27 06:38:23-0700
thufir@dur:~$
thufir@dur:~$ pastebinit xmas
http://paste.ubuntu.com/25830406/
thufir@dur:~$
Here's the pastebin file on ubuntu, as above. Reference man script for how to use typescript.
Note that you can execute scripts, interact, etc. The script command just logs everything into a file. Not quite sure how to make it more readable without futzing with the console/shell configuration...
Basically, if you turn off all colors, etc, it looks better.