bin/perldoc@61c91bec34c8
bin/perldoc
Wed, 24 Nov 2021 14:22:41 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 24 Nov 2021 14:22:41 -0600
- changeset 956
- 61c91bec34c8
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
improve this first-time install
#!/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 $*