bin/perldoc

Mon, 06 May 2019 12:36:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 06 May 2019 12:36:55 -0500
changeset 760
d439bf421f1b
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

fix

#!/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