bin/perldoc

Thu, 25 Apr 2019 21:58:05 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 25 Apr 2019 21:58:05 -0400
changeset 758
949b2d4df5fd
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

whoops, LANG confuses things later

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