bin/perldoc@6982ec9ba7c3
bin/perldoc
Sun, 14 Jul 2019 04:19:34 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sun, 14 Jul 2019 04:19:34 -0500
- changeset 776
- 6982ec9ba7c3
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
more vimlike
#!/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 $*