about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-04 10:20:11 -0400
committerJune McEnroe <june@causal.agency>2020-05-04 10:20:11 -0400
commitc5710f51ba14736a0b1152a5e1f9f08edf61e061 (patch)
treee1cf5d4d47d530b9ec6b8b57add36115a72f8359
parentAdd README (diff)
downloadexman-c5710f51ba14736a0b1152a5e1f9f08edf61e061.tar.gz
exman-c5710f51ba14736a0b1152a5e1f9f08edf61e061.zip
Don't clear MANSECT
Just make sure every section ends up in it.
-rw-r--r--exman.sh2
1 files changed, 1 insertions, 1 deletions
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}
0f81b1f4b7563&follow=1'>Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe