From 557809158760633bd09b6cbc206f3f6e0741abfc Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 4 Jan 2016 19:41:37 +0100 Subject: xmandoc: use BRE regex. --- xmandoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmandoc') diff --git a/xmandoc b/xmandoc index 7a6486e..46348f5 100755 --- a/xmandoc +++ b/xmandoc @@ -1,7 +1,7 @@ #!/bin/sh # xmandoc MANPAGE - read manpage of possibly not installed package -xlocate "man/man..?/$1\.[0-9]" 2>/dev/null | +xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null | { grep . || { echo "xmandoc: No entry for $1 found." 1>&2; exit 1; } } | while read pkg page; do xbps-query --cat=$page $pkg | mandoc -a -- cgit 1.4.1