diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-30 23:56:29 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-30 23:56:29 +0000 |
commit | cb809d942c58dea5dfba6ad8b7e3298338ebb24e (patch) | |
tree | d4316c3289f8e8efdd746dfaf3a51ecd0544c5b5 /local-pod-man | |
parent | 14a6daa486a195f465c8049122d20675d6626f07 (diff) | |
parent | 6e7c6b8b8305f162cea9e3da85c24b3f21888a1a (diff) |
Merge branch 'wip.tutorials' into wip
Diffstat (limited to 'local-pod-man')
-rwxr-xr-x | local-pod-man | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/local-pod-man b/local-pod-man new file mode 100755 index 0000000..3c3e0ea --- /dev/null +++ b/local-pod-man @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +case "$#.$1" in +1.[^-]*) ;; +*) echo >&2 'usage: ./local-pod-man dgit-something[.7[.pod]]'; exit 16;; +esac +base="$1" +base="${base%.pod}" +base="${base%.7}" + +make "$base.7" +man -l "$base.7" |