Converts a Gophermap to HTML2/RFC1866
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Shokara Kou 430d7a3825 mention awk in README 3 months ago
.gitignore license under ISC and add Makefile and README 5 months ago
LICENSE license under ISC and add Makefile and README 5 months ago
Makefile increase MAXLINE to 1024 characters from 120 5 months ago
README mention awk in README 3 months ago
gopher2html2.awk use TITLE envvar for setting <title> via awk 3 months ago
gopher2html2.c allow specifying filepath of gophermap instead of stdin 3 months ago

README

gopher2html2
============
Converts Gophermaps/RFC1436 to HTML2/RFC1866.

Dependencies
------------
- C89 compiler or any AWK
- POSIX environment to redirect stdin/out

Usage
-----
gopher2html2 <Gophermap >index.html
awk -f /path/to/gopher2html2.awk <Gophermap >index.html

or

gopher2html2 Gophermap >index.html
awk -f /path/to/gopher2html2.awk Gophermap >index.html