diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-15 08:09:27 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-15 08:09:27 +0200 |
commit | fc37fb24c08602e112bcce8322d2a63cad7184fe (patch) | |
tree | 16adde5891719e42e4ccc09862064d9d04fe7202 | |
parent | efdf0b60531230b20c32e6736b6018c6005fbfed (diff) | |
download | dwim-fc37fb24c08602e112bcce8322d2a63cad7184fe.tar.gz |
Support apropos(1) output
-rwxr-xr-x | dwim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ for ($phrase) { # otherwise fall through } - if (/^([-_A-Za-z]+)\((\d+)\)[):,.]*$/) { + if (/^([-_A-Za-z]+) ?\((\d+)\)[):,.]*$/) { handle 'manual(section)'; run @MAN_VIEWER, $2, $1; } |