bin/perldoc

Mon, 06 May 2019 12:34:51 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 06 May 2019 12:34:51 -0500
changeset 759
656f6f6f63cf
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

Fix escape

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