bin/perldoc

Mon, 19 Feb 2018 10:36:47 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 19 Feb 2018 10:36:47 -0500
changeset 694
7c7e47abe4e1
parent 672
c6336b1897e9
child 743
76c4c96d8b9f
permissions
-rwxr-xr-x

make this run on windows

672
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 if [ -x "$(command -v cpandoc)" ]; then
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 exec cpandoc $*
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 fi
c6336b1897e9 add cpandoc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 exec perldoc $*

mercurial