mailfmt man page on DragonFly

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

mailfmt(1)							    mailfmt(1)

NAME
       mailfmt - Reformat mail/news to wrap lines and remove quotation charac‐
       ters

SYNOPSIS
       mailfmt [-ahiorv] [-c char] [-w num]

DESCRIPTION
       ´mailfmt´ is a Unix and Win32 tool for reformatting news and mail  mes‐
       sages.  It removes leading quotations strings (most often the ´>´ char‐
       acter, but this is user selectable from the  command  line)  and	 wraps
       lines  to  a  user  specified width.  This allows news or mail messages
       which have been extensively forwarded and/or quoted to be easily refor‐
       matted for ease of reading.

       On Unix systems, ´mailfmt´ reads from stdin and writes to stdout.

       On  Win32  systems,  ´mailfmt´ reads from the clipboard and then writes
       the results to the clipboard.  This is really handy if your are running
       a GUI mail client.  You cut the desired text (thereby placing it on the
       clipboard).  Then you run ´mailfmt´ - this is best done with a keyboard
       shortcut	 -  Then paste back to your mail client and, voila!, your text
       has been reformatted.

       On Win32 systems, the input and output can be reassigned to  stdin  and
       stdout respectively, using the -i and -o options.

       Normally,  errors  on  a Win32 system will appear as GUI Message Boxes.
       If, however, you choose to output to stdout  via	 the  -o  option,  all
       errors will be written there instead.

OPTIONS
       -a     Do  not  remove  leading	quotation characters. (Default: Remove
	      leading quotation characters.)

       -c character
	      Change the quotation character to ´char´.	 (Default: ´>´)

       -h     Display help information.

       -i     Get input from stdin.  On Unix systems, this is the only	possi‐
	      ble  option  for	input  and need not be specified.  However, on
	      Win32 systems, input to defaults to the clipboard.  This	option
	      overrides	 that  default	allowing  Win32	 systems  to read from
	      stdin.

       -o     Send output to stdout.  On Unix systems, this is the only possi‐
	      ble  option  for	output and need not be specified.  However, on
	      Win32 systems, output defaults to the  clipboard.	  This	option
	      overrides	 that  default allowing Win32 systems to write to std‐
	      out.

       -r     Do not wrap lines to specified width. (Default: Wrap lines)

       -v     Display detailed version information.

       -w val Set line wrapping width to ´val´.	 (Default: 75)

OTHER
       You must have a reasonably  current  copy  of  'python'	installed  for
       ´mailfmt´ to operate.

BUGS AND MISFEATURES
       None known as of this release.  This is not beautiful code.  It is very
       hackish in places.

COPYRIGHT AND LICENSING
       ´mailfmt´ is Copyright(c) 2002 TundraWare Inc.  For terms of  use,  see
       the  mailfmt-License.txt	 file  in  the	program	 distribution.	If you
       install ´mailfmt´ on a FreeBSD system using the 'ports' mechanism,  you
       will also find this file in /usr/local/share/doc/mailfmt.

AUTHOR
       Tim Daneliuk
       tundra@tundraware.com

				  TundraWare			    mailfmt(1)
[top]

List of man pages available for DragonFly

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