aboutsummaryrefslogtreecommitdiff
path: root/pl
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-29 17:44:24 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-29 17:44:24 +0200
commitbf32d48b0dce56f9fa1a57d1172b037dc284b3cf (patch)
treebb4703a70a3b2b60769d4d1fb56b006a14c95be5 /pl
parent7e5f08a183322d0d4f1f481e2d79bc188c7e133e (diff)
downloadxutil-bf32d48b0dce56f9fa1a57d1172b037dc284b3cf.tar.gz
Add pl* utilities (perldoc)
Diffstat (limited to 'pl')
-rwxr-xr-xpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/pl b/pl
new file mode 100755
index 0000000..a331623
--- /dev/null
+++ b/pl
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+a=${0##*/}
+a=${a#pl}
+case $a in
+[A-z]) exec perldoc -$a "$@" ;;
+*) exec perldoc "$@" ;;
+esac