bin/perldoc

Sat, 16 Mar 2019 04:30:15 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 16 Mar 2019 04:30:15 -0500
changeset 747
a3c2fbf5a623
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

disable ansi perldoc until consistent

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