aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwim b/dwim
index f1da343..9e000aa 100755
--- a/dwim
+++ b/dwim
@@ -52,7 +52,7 @@ for ($phrase) {
# otherwise fall through
}
- if (/^([^\s]+)\(([^\s]+)\)/) {
+ if (/^([^\s]+)\(([^\s]+)\)[,.]?/) {
handle "{manpage}({section})";
run @LAUNCHER, "man", "$2", "$1";
}