only escapce the first underline to satisfy asciidoc - weired!

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-05-10 16:40:33 +02:00
parent e9f7a2c82c
commit 31c76f8a42
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,4 @@
Cleanup documentation:
cleanly integrate speeches (pdf on website?)
type reference -> add types + manpages
add explorer reference

View file

@ -140,9 +140,10 @@ for type in man7/cdist-type__*.text; do
no_dir="${type#man7/}";
no_type="${no_dir#cdist-type}";
name="${no_type%.text}";
name_no_underline="$(echo $name | sed 's/^__/\\__/g')"
man="${no_dir%.text}(7)"
echo "- $name" "($man)"
echo "- $name_no_underline" "($man)"
done
cat << eof