X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-docs.git;a=blobdiff_plain;f=utils%2Fdbdata.sh;h=f2095def09ad85a525cf9ccd394ef946c02154b4;hp=2978cf9e6a0eb530da74529f9d7fd8807b85b4ad;hb=eec81e9290cc6e143f551aaf60d352a89a3c7f18;hpb=c598f6d94ae33729aad747e6da263da81a4abe85 diff --git a/utils/dbdata.sh b/utils/dbdata.sh index 2978cf9..f2095de 100755 --- a/utils/dbdata.sh +++ b/utils/dbdata.sh @@ -19,7 +19,7 @@ while shift 1; do HEADER="
  • $FILE (extra-name:$EXTRA, only for inclusion)" HEADER2="" else - title=`sed -n -e '/^(title/s/(title \("[^"]*"\).*$/\1/p' $FILE` +# title=`sed -n -e '/^(title/s/(title \("[^"]*"\).*$/\1/p' $FILE` file=`basename $FILE` base=`basename $file .mim` dir=`dirname $FILE` @@ -29,9 +29,9 @@ while shift 1; do [ -f "images/icon-$base.png" ] || cp "$icon" "images/icon-$base.png" fi HEADER="
  • $base (language:$LNG name:$NAME @htmlonly" - if test -n "$title"; then - HEADER="$HEADER title:$title" - fi +# if test -n "$title"; then +# HEADER="$HEADER title:$title" +# fi HEADER2="" HEADER3="@endhtmlonly" HEADER4=")" @@ -41,7 +41,8 @@ while shift 1; do echo "$HEADER2"; echo "$HEADER3"; echo "$HEADER4" fi echo - sed -n -e '/^;;;/ p' $FILE | sed -e '/^[^;]/ s/$/
    /' -e '/^;;;/ s/^;;; *//' | sed -e 's,^||,,' -e 's,||$,,' -e 's,|,,g') + sed -n -e '/^;;;/ p' $FILE | sed -e '/^[^;]/ s/$/
    /' -e '/^;;;/ s/^;;; *//' | sed -e 's,^||,,' -e 's,||$,,' -e 's,|,,g' + ) else M17NDIR=/usr/share/m17n $IMDOC $FILE "$IM" fi