From fc37fb24c08602e112bcce8322d2a63cad7184fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 15 Jun 2021 08:09:27 +0200 Subject: Support apropos(1) output --- dwim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwim b/dwim index 1ede16d..49fd9f5 100755 --- a/dwim +++ b/dwim @@ -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; } -- cgit v1.2.3