about summary refs log tree commit diff
path: root/xmandoc
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-01-04 19:41:37 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-01-04 19:41:37 +0100
commit557809158760633bd09b6cbc206f3f6e0741abfc (patch)
tree24f6f7b5128677d50a735dc60ac9773310be8093 /xmandoc
parent87c5456c9ed62e6bebc0d16e2aabf764e3041388 (diff)
downloadxtools-557809158760633bd09b6cbc206f3f6e0741abfc.tar.gz
xtools-557809158760633bd09b6cbc206f3f6e0741abfc.tar.xz
xtools-557809158760633bd09b6cbc206f3f6e0741abfc.zip
xmandoc: use BRE regex.
Diffstat (limited to 'xmandoc')
-rwxr-xr-xxmandoc2
1 files changed, 1 insertions, 1 deletions
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