bin/perldoc

Sun, 22 Dec 2019 13:21:37 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 22 Dec 2019 13:21:37 -0600
changeset 843
7968d9507ddb
parent 774
d6a54f86ab10
permissions
-rwxr-xr-x

remove cute alias aliases

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