Thu, 06 Jun 2019 13:35:16 -0500
Go back to viewdoc default maps
672 | 1 | #!/bin/sh |
2 | set -eu | |
3 | ||
743
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
4 | if [ -t 1 ]; then |
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
5 | export PERLDOC="-oterm ${PERLDOC:-}" |
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
6 | fi |
76c4c96d8b9f
Use term formatter, if term
Meredith Howard <mhoward@roomag.org>
parents:
672
diff
changeset
|
7 | |
672 | 8 | if [ -x "$(command -v cpandoc)" ]; then |
9 | exec cpandoc $* | |
10 | fi | |
11 | exec perldoc $* |