summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/shman.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/shman.sh b/tools/shman.sh
index 7cd8140..fe7c280 100644
--- a/tools/shman.sh
+++ b/tools/shman.sh
@@ -67,17 +67,6 @@ get_mtime()
printf '%d-%02d-%02d' ${y} ${m} ${d}
}
-format_fonts()
-{
- local str="${1}"
- shift 1
-
- printf '%s\n' "${str}" | sed '
- s/[*][*]\(.*\)[*][*]/\\fB\1\\fP/g;
- s/_\(.*\)_/\\fI\1\\fP/g;
- '
-}
-
gen_doc_func()
{
local sym="${1}"
@@ -93,15 +82,12 @@ gen_doc_func()
while read -r cmd args; do
case "${cmd}" in
'brief')
- args="$(format_fonts "${args}")"
sect_name="${sect_name} - ${args}"
;;
'details')
- args="$(format_fonts "${args}")"
sect_desc=".SH DESCRIPTION${LF}${args}"
;;
'return')
- args="$(format_fonts "${args}")"
sect_ret=".SH RETURN VALUE${LF}${args}"
;;
esac