bin/perldoc@8aea1e8c4aa6
bin/perldoc
Fri, 28 Jan 2022 14:42:14 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 28 Jan 2022 14:42:14 -0600
- changeset 975
- 8aea1e8c4aa6
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
better hlsearch toggle
#!/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 $*