A
alexxx.magni
hi people,
I need to print to terminal a long $variable containing text, and of
course being longer than the terminal width it produces a truncated
word that continues on the next line - I'd like to go newline just on
spaces...
I wrote an approximated version to "prettyprint" it, but it's so awful
that I prefer not to show it in public...
Do you know of some elegant way to do it? (there should be more than
one way...;-)
thanks!
Alessandro Magni
I need to print to terminal a long $variable containing text, and of
course being longer than the terminal width it produces a truncated
word that continues on the next line - I'd like to go newline just on
spaces...
I wrote an approximated version to "prettyprint" it, but it's so awful
that I prefer not to show it in public...
Do you know of some elegant way to do it? (there should be more than
one way...;-)
thanks!
Alessandro Magni