bin/perldoc

Sat, 16 Mar 2019 03:59:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 16 Mar 2019 03:59:55 -0500
changeset 745
dd23da749523
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

can't win with this

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