bin/perldoc

Wed, 03 Apr 2019 03:11:25 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 03 Apr 2019 03:11:25 -0400
changeset 752
bdbfa576e84f
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

git likes to wait on hooks if you keep STD* open

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