roryrjb / nl

Plain text to HTML converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nl

Plain text to HTML converter

About

All this program does is convert plain text files into a more readable form when embedded in HTML, i.e. it converts line breaks into <br>s. My very simple use case is for filtering plain text README's in a cgit setup on OpenBSD.

Installation

On OpenBSD web applications are chrooted by default to /var/www. Once you grab hold of this source you can just do make install PREFIX=/var/www. A static binary will be thenceforth be available to all chrooted applications at /bin/nl.

About

Plain text to HTML converter

License:GNU General Public License v3.0


Languages

Language:C 77.0%Language:Makefile 23.0%