From de1d4bb2bdf28ded6c8505d4914117ec74f11c63 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 15 Mar 2018 12:06:28 +0100 Subject: xmandoc: follow symlinks. This is a hack, but the best we can do with the given information. Closes #79. --- xmandoc | 1 + 1 file changed, 1 insertion(+) (limited to 'xmandoc') diff --git a/xmandoc b/xmandoc index 1261108..eddd672 100755 --- a/xmandoc +++ b/xmandoc @@ -4,5 +4,6 @@ xlocate "man/man..\?/$1\.[0-9]" 2>/dev/null | { grep . || { echo "xmandoc: No entry for $1 found." 1>&2; exit 1; } } | while read -r pkg page; do + page=${page#* -> } xbps-query --cat=$page ${pkg%-*} | mandoc -a done -- cgit 1.4.1