fmt man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

FMT(1)									FMT(1)

NAME
       fmt, htmlfmt - simple text formatters

SYNOPSIS
       fmt [ option ...	 ] [ file ...  ]

       htmlfmt [ -a ] [ -c charset ] [ -u url ] [ file ...  ]

DESCRIPTION
       Fmt  copies the given files (standard input by default) to its standard
       output, filling and indenting lines.  The options are

       -l n   Output line length is n, including indent (default 70).

       -w n   A synonym for -l.

       -i n   Indent n spaces (default 0).

       -j     Do not join short lines: only fold long lines.

       Empty lines and initial white  space  in	 input	lines  are  preserved.
       Empty lines are inserted between input files.

       Fmt is idempotent: it leaves already formatted text unchanged.

       Htmlfmt performs a similar service, but accepts as input text formatted
       with HTML tags.	It accepts fmt's -l and -w flags and also:

       -a     Normally htmlfmt suppresses the  contents	 of  form  fields  and
	      anchors  (URLs  and  image  files); this flag causes it to print
	      them, in square brackets.

       -c charset
	      change the default character set	from  iso-8859-1  to  charset.
	      This  is	the character set assumed if there isn't one specified
	      by the html itself in a <meta> directive.

       -u url Use url as  the  base  URL  for  the  document  when  displaying
	      anchors; sets -a.

SOURCE
       /sys/src/cmd/fmt.c

       /sys/src/cmd/htmlfmt

BUGS
       Htmlfmt	makes  no  attempt  to	render the two-dimensional geometry of
       tables; it just treats the  table  entries  as  plain,  to-be-formatted
       text.

									FMT(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

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]
Tweet
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