fmt man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

fmt(1)									fmt(1)

       fmt - format text

       width] [file...]

       The  command  is	 a simple text formatter that fills and joins lines to
       produce output lines of (up to) the number of characters	 specified  in
       the  width  option.   The  default width is 72.	concatenates the argu‐
       ments.  If none are given, formats text from the standard input.

       Blank lines are preserved in the output,	 as  is	 the  spacing  between
       words.	does  not fill lines beginning with a period for compatibility
       with Nor does it fill lines starting with

       Indentation is preserved in the output and input lines  with  differing
       indentation are not joined (unless is used).

       can also be used as an in-line text filter for the command:

       reformats the text between the cursor location and the end of the para‐

       recognizes the following options:

	      Crown margin mode.
		    Preserve the indentation of the first two lines  within  a
		    paragraph  and  align  the	left margin of each subsequent
		    line with that of the second line.	 This  is  useful  for
		    tagged paragraphs.

	      Split lines only.
		    Do	not  join  short lines to form longer ones.  This pre‐
		    vents sample lines of code,	 and  other  such  “formatted”
		    text, from being unduly combined.

	      Fill output lines to up to
		    width columns.

       The  width  option  is  acceptable for BSD compatibility, but it may go
       away in future releases.

       nroff(1), vi(1).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net