aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-03 20:29:17 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-03 20:29:17 +0200
commit949830adbcf5a2c526ce2ae84bcd5ca0adb803f0 (patch)
treea1a1fa9a183295e906284c3cc4a3a790a28ed86d
parent44f31f2c591f3ec1354665257cf8830b6df5548d (diff)
downloaddwim-949830adbcf5a2c526ce2ae84bcd5ca0adb803f0.tar.gz
Handle man pages with periods
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index 6353412..1d86806 100755
--- a/dwim
+++ b/dwim
@@ -62,7 +62,7 @@ for ($phrase) {
# FALLTHROUGH
}
- if (/^([-_A-Za-z]+) ?\((\d+)\)[):,.]*$/) {
+ if (/^([-_A-Za-z.]+) ?\((\d+)\)[):,.]*$/) {
handle 'manual(section)';
run @MAN_VIEWER, $2, $1;
}