bin/perldoc@1cb4636d6d36
bin/perldoc
Mon, 15 Jul 2024 13:22:56 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 15 Jul 2024 13:22:56 -0500
- changeset 1176
- 1cb4636d6d36
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
Fix for no-nerdfonts experience
#!/bin/sh
set -eu
if [ -t 1 ]; then
export PERLDOC="-oterm ${PERLDOC:-}"
fi
if [ -x "$(command -v cpandoc)" ]; then
exec cpandoc $*
fi
BIN="$(which -a perldoc | grep -v $0 | head -n 1)"
exec $BIN $*