how to word wrap, align text like the output of man?

Posted by cody on Server Fault See other posts from Server Fault or by cody
Published on 2012-10-13T21:20:59Z Indexed on 2012/10/13 21:39 UTC
Read the original article Hit count: 291

Filed under:
|

what is the command that word wraps and justifies a text file so that the output looks like that of a man page:

   All of these system  calls  are  used  to  wait  for  state
   changes  in  a  child  of  the  calling process, and obtain
   information about the child whose  state  has  changed.   A
   state change is considered to be: the child terminated; the
   child was stopped by a signal; or the child was resumed  by
   a  signal.  In the case of a terminated child, performing a
   wait allows the system to release the resources  associated
   with the child; if a wait is not performed, then the termi-
   nated child remains in a "zombie" state (see NOTES below).

Thanks.

© Server Fault or respective owner

Related posts about linux

Related posts about command-line