bin/perldoc@7173f2b81a4e
bin/perldoc
Fri, 22 Nov 2019 16:02:17 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 22 Nov 2019 16:02:17 -0600
- changeset 829
- 7173f2b81a4e
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
Fix extra args to Ag
#!/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 $*