kiss-mfavila-small/ports/xterm/xterm-359/man2html.tmp

22 lines
462 B
Plaintext
Raw Normal View History

#!/bin/sh
# Temporary script generated by CF_WITH_MAN2HTML
# Convert inputs to html, sending result to standard output.
#
# Parameters:
# ${1} = rootname of file to convert
# ${2} = suffix of file to convert, e.g., "1"
# ${3} = macros to use, e.g., "man"
#
ROOT=$1
TYPE=$2
MACS=$3
unset LANG
unset LC_ALL
unset LC_CTYPE
unset LANGUAGE
GROFF_NO_SGR=stupid
export GROFF_NO_SGR
/bin/sh -c "/bin/tbl ${ROOT}.${TYPE} | /bin/groff -P -o0 -I${ROOT}_ -Thtml -${MACS}"