BSD Ports

textproc/sansi 1.0.2_1 DragonFly

Removes ANSI control sequences/characters, from files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART20, BSD2CLAUSE
Categories
sysutils, textproc
Package size
6.4 KiB, 12.5 KiB installed

Description

sansi was written to strip the ANSI control sequences in files, or output, often, but not limited to those generated by compilers. I found it difficult to visually grope/grep the output of script(1) sessions. Especially with the advent of clang. While it's nice to replay the script(1) sessions to view the highlighted messages. It's near impossible to read it inline in your favorite pager, or text editor; Enter sansi.

In the other systems

SystemPortVersion
DragonFlytextproc/sansi1.0.2_1
FreeBSDtextproc/sansi1.0.2_1
HardenedBSDtextproc/sansi1.0.2_1
GhostBSDtextproc/sansi1.0.2_1

Install

Binary package:

pkg install sansi

From DPorts:

cd /usr/dports/textproc/sansi && make install clean

Dependencies

Run dependencies 2
Required by 1