bin/perldoc

Mon, 17 Jun 2019 18:45:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 17 Jun 2019 18:45:19 -0500
changeset 772
7ae185f81e1a
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

allow switching base mod key

#!/bin/sh
set -eu

if [ -t 1 ]; then
  export PERLDOC="-oterm ${PERLDOC:-}"
fi

if [ -x "$(command -v cpandoc)" ]; then
  exec cpandoc $*
fi
exec perldoc $*

mercurial