diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-04 19:41:37 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-04 19:41:37 +0100 |
commit | 557809158760633bd09b6cbc206f3f6e0741abfc (patch) | |
tree | 24f6f7b5128677d50a735dc60ac9773310be8093 | |
parent | 87c5456c9ed62e6bebc0d16e2aabf764e3041388 (diff) | |
download | xtools-557809158760633bd09b6cbc206f3f6e0741abfc.tar.gz xtools-557809158760633bd09b6cbc206f3f6e0741abfc.tar.xz xtools-557809158760633bd09b6cbc206f3f6e0741abfc.zip |
xmandoc: use BRE regex.
-rwxr-xr-x | xmandoc | 2 |
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 |