ansifilter man page on DragonFly

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

ansifilter(1)		      user documentation		 ansifilter(1)

NAME
       Ansifilter - ANSI escape code processor and converter

SYNOPSIS
       ansifilter  [d:i:F:o:s:e:fhptvHRT]  [-i	input  file]  [-o output file]
       [--text] [--html] [--latex] [--tex] [--rtf] [input files]

DESCRIPTION
       Ansifilter is a small utility to handle text files containing ANSI ter‐
       minal  escape codes. The command sequences may be stripped or be inter‐
       preted to generate formatted output (HTML, LaTeX, TeX, RTF).

       See the README file for details.

File options
       -i, --input=<file>
	      name of input file

       -o, --output=<file>
	      name of output file

       -O, --outdir=<dir>
	      name of output directory

       -t, --tail
	      Continue reading after end-of-file (like tail  -f).  Use	system
	      tail if available.

Output formats
       -T, --text
	      Output text (default)

       -H, --html
	      Output HTML

       -L, --latex
	      Output LaTeX

       -P, --tex
	      Output Plain TeX

       -R, --rtf
	      Output RTF

       -B, --bbcode
	      Output BBCode

Format options
       -d, --doc-title
	      Set HTML/LaTeX document title

       -f, --fragment
	      Omit HTML header and footer

       -F, --font=<font>
	      Set HTML/RTF font face

       -r, --style-ref=<rf>
	      Set HTML/TeX/LaTeX stylesheet path

       -s, --font-size=<num?>
	      Set HTML/RTF font size

       -e, --encoding=<enc>
	      Set  HTML encoding (must match input file encoding); omit encod‐
	      ing information if enc=NONE

       -p, --plain
	      Ignore ANSI formatting information

       -w, --wrap=<len>
	      Wrap long lines

OTHER OPTIONS
       -h, --help
	      print help

       -v, --version
	      print version and license info

       If no in- or output files are specified, stdin and stdout will be  used
       for   in- or output.  Plain text will be generated, if no output format
       is given.

Examples
       File conversions:

       ansifilter -i text_with_ansi.txt -o text_without_ansi.txt

       tail -f server.log | ansifilter

       ansifilter *.txt

AUTHORS
       Andre Simon <andre.simon1@gmx.de>

SEE ALSO
       README	file   and   webpage   at    http://www.andre-simon.de/	   and
       http://wiki.andre-simon.de.

Andre Simon			  2012-01-04			 ansifilter(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