0

This question already has an answer here:

I'm running man in non interactive mode from bash and I'm displaying the result on the webpage. I have number of character per line calculated on a page, how can I inform the man command about number of characters per line?

marked as duplicate by Jeff Schaller, jimmij, chaos, vonbrand, polemon Jan 8 '16 at 23:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

If you're using man on Linux to generate the output (e.g. man command > output-file) then you can set MANWIDTH to the value you'd like.

MANWIDTH=120 man tr > tr.txt

Not the answer you're looking for? Browse other questions tagged or ask your own question.