bin/perldoc@58f9d9741852
bin/perldoc
Tue, 12 Nov 2019 16:23:27 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Tue, 12 Nov 2019 16:23:27 -0600
- changeset 819
- 58f9d9741852
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
actually run cpm to make sure it's not a stub
#!/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 $*