bash disable line wrap without truncation
Posted
by
Eric Huang
on Super User
See other posts from Super User
or by Eric Huang
Published on 2012-10-21T16:35:47Z
Indexed on
2012/10/21
17:04 UTC
Read the original article
Hit count: 352
I am using a template heavy library in c++ and need to understand the template errors. Reading line wrapped template errors is a serious pain.
Is there a way to disable line wrapping in bash without also truncating the output. Additionally, is there a way to do horizontal scrolling on the output.
I have seen this answer, how to make bash not to wrap output?, but the output is truncated.
The solution doesn't have to be bash targeted, if there is method for this using another shell, tmux, piping make output to another program, compiling from within vim, etc, I'll use it. (Except for copy-pasting into gedit)
© Super User or respective owner