Utility to convert from ansi codes to plain text.
Go to file
Mike Small 308f5650e1 Fix portability problems going to OpenBSD
The earlier Makefile assumed GNU tooling in the following ways:

1. install having a -t target directory argument.
2. make having an internal rule to make a target based only on...
   ansi2text: ansi2text.o
3. man pages go to /usr/local/share/man, which is not the location
   on OpenBSD

Made a note about installation, pointing out the use of the MANDIR
variable to correct the man page destination.

Added an uninstall target.
2020-12-15 20:29:02 -05:00
ansi2text.1 man page: minor grammar correction and qualify claim in history 2020-12-15 19:45:22 -05:00
ansi2text.c ansi2text.c(main): pass missing eval argument to err() 2020-12-15 19:32:19 -05:00
ChangeLog Mention Makefile creation in changelog 2020-12-15 19:52:34 -05:00
Makefile Fix portability problems going to OpenBSD 2020-12-15 20:29:02 -05:00
netbsd_gnat_change_request.origin
README Fix portability problems going to OpenBSD 2020-12-15 20:29:02 -05:00

A program to strip ansi codes from text files

I found this in NetBSD Problem Report #48092, a change request from
Nathanial Sloss where he included its source. See
netbsd_gnat_change_request.origin which was saved from
https://gnats.netbsd.org/48092

Installation:

make
sudo make install

Note: on some systems you may want to set MANDIR, e.g. ...

sudo make install MANDIR=/usr/local/man

The default is to put the man page under /usr/local/share/man.
See Makefile.