bin/perldoc@58490a30d6fb
bin/perldoc
Thu, 10 Aug 2023 02:23:07 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Thu, 10 Aug 2023 02:23:07 -0500
- changeset 1125
- 58490a30d6fb
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
Stop misusing equalprg
#!/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 $*