From c5710f51ba14736a0b1152a5e1f9f08edf61e061 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 4 May 2020 10:20:11 -0400 Subject: Don't clear MANSECT Just make sure every section ends up in it. --- exman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exman.sh b/exman.sh index f428e30..5077c34 100644 --- a/exman.sh +++ b/exman.sh @@ -19,7 +19,7 @@ shift export MANPATH="${exman}/${system}" [ -d "${MANPATH}" ] || die "No manuals for ${system}" -export MANSECT= +export MANSECT for sect in "${MANPATH}"/man*/; do sect=${sect%/} sect=${sect##*/man} -- cgit 1.4.1