46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
offset=0
fi
tail -n+2 $file | head -n$(expr $descline - 2) | cmark --smart -t man >>"$fmt"
echo >>"$fmt" ".SH DESCRIPTION"
tail -n+$(expr $descline + $offset) "$file" | cmark --smart --normalize -t man >> "$fmt"
test "$doc_html" = "yes" && {
mkdir -p "$htmldest"
groff -Thtml -Kutf8 -m man "$fmt" > "$html"
test "$verbose" != "loud" ||
say "wrote html page for $stem to $html"
}
|
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
offset=0
fi
tail -n+2 $file | head -n$(expr $descline - 2) | cmark --smart -t man >>"$fmt"
echo >>"$fmt" ".SH DESCRIPTION"
tail -n+$(expr $descline + $offset) "$file" | cmark --smart -t man >> "$fmt"
test "$doc_html" = "yes" && {
mkdir -p "$htmldest"
groff -Thtml -Kutf8 -m man "$fmt" > "$html"
test "$verbose" != "loud" ||
say "wrote html page for $stem to $html"
}
|