BSD Ports

textproc/p5-HTML-FromANSI-Tiny 0.107 DragonFly

Easily convert colored command line output to HTML

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
16.4 KiB, 53.7 KiB installed

Description

Convert the output from a terminal command that is decorated with ANSI escape sequences into customizable HTML (with a small amount of code).

Parse::ANSIColor::Tiny returns a data structure that's easy to reformat into any desired output. Reformatting to HTML seemed simple and common enough to warrant this module as well.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-HTML-FromANSI-Tiny0.107
FreeBSDtextproc/p5-HTML-FromANSI-Tiny0.107
HardenedBSDtextproc/p5-HTML-FromANSI-Tiny0.107
GhostBSDtextproc/p5-HTML-FromANSI-Tiny0.107

Install

Binary package:

pkg install p5-HTML-FromANSI-Tiny

From DPorts:

cd /usr/dports/textproc/p5-HTML-FromANSI-Tiny && make install clean

Dependencies

Run dependencies 3