bin/perldoc@b7a3f68c02b2
bin/perldoc
Mon, 26 Jun 2023 14:12:46 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 26 Jun 2023 14:12:46 -0500
- changeset 1123
- b7a3f68c02b2
- parent 774
-
d6a54f86ab10
- permissions
- -rwxr-xr-x
Drop cmp-omni. Never resolved the double-display
But don't really have omnifunc use cases anymore
#!/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 $*