bin/perldoc

Wed, 15 May 2019 02:19:35 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 15 May 2019 02:19:35 -0500
changeset 762
ef7d6daaa1c9
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

update deprecated but unwarned options

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