bin/perldoc@556f618e117a
bin/perldoc
Sat, 26 Mar 2022 20:03:48 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sat, 26 Mar 2022 20:03:48 -0500
- changeset 987
- 556f618e117a
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
launch stuff from home
#!/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 $*