bin/perldoc@49826fe1c850
bin/perldoc
Mon, 02 Dec 2019 19:38:49 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 02 Dec 2019 19:38:49 -0600
- changeset 835
- 49826fe1c850
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
pluck just a few things from omz common-aliases
#!/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 $*