bin/perldoc

Thu, 06 Jun 2019 02:47:39 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 06 Jun 2019 02:47:39 -0400
changeset 768
7ed19a36b198
parent 743
76c4c96d8b9f
child 774
d6a54f86ab10
permissions
-rwxr-xr-x

Use vim 8's defaults.vim, remove redundant settings and old feature checks

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