bin/perldoc

Mon, 07 Feb 2022 23:57:02 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 07 Feb 2022 23:57:02 -0600
changeset 980
ab27e37bbb82
parent 774
d6a54f86ab10
permissions
-rwxr-xr-x

remove notes about vimproc

#!/bin/sh
set -eu

if [ -t 1 ]; then
  export PERLDOC="-oterm ${PERLDOC:-}"
fi

if [ -x "$(command -v cpandoc)" ]; then
  exec cpandoc $*
fi

BIN="$(which -a perldoc | grep -v $0 | head -n 1)"
exec $BIN $*

mercurial