From 88726ea9830c7213a7d9c1965eba97d3987b87d5 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 25 May 2024 21:43:13 +0200 Subject: man: start writing manpages --- contrib/man2html | 29 ++++++++++++++ man/fork.2 | 71 ++++++++++++++++++++++++++++++++++ man/mount.2 | 87 ++++++++++++++++++++++++++++++++++++++++++ man/net.7 | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 300 insertions(+) create mode 100755 contrib/man2html create mode 100644 man/fork.2 create mode 100644 man/mount.2 create mode 100644 man/net.7 diff --git a/contrib/man2html b/contrib/man2html new file mode 100755 index 0000000..5dea876 --- /dev/null +++ b/contrib/man2html @@ -0,0 +1,29 @@ +#!/bin/sh + +if [ $# -ne 1 ]; then + echo usage: contrib/man2html outdir + exit +fi + +if [ ! -d $1 ]; then + echo $1 doesn\'t exist + exit +fi + +cat < $1/index.html + +camellia manpages +