This commit is contained in:
disu1950 2024-12-25 22:16:36 +00:00
parent 59f9c0a495
commit b00f8ea6a7

12
man2html Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
file=$(man -w $@) || exit
if gzip -t $file
then
zcat $file
else
cat $file
fi | groff -mandoc -T html
# % man2html ls > ls_manpage.html