0

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?

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.