*** empty log message ***
[m17n/m17n-docs.git] / utils / exmim.sh
1 #!/bin/sh
2
3 cat <<EOF
4 /***en @page m17nExMim Example Input Methods */
5 /***ja @page m17nExMim ¥µ¥ó¥×¥ëÆþÎϥ᥽¥Ã¥É */
6 /***
7 This section describes these example input methods.  They are to
8 demonstrate the usage of the m17n library, not for practical use.
9
10 <ul>
11 EOF
12
13 cat $* | grep '@page' | sed -e 's/;; @page \([^.]*\).mim/<li> @ref \1 "\1.mim" --/'
14
15 cat <<EOF
16 </ul>
17 */
18 EOF
19
20 cat $* | \
21 sed -n -e '/;; \/\*\*\*/,/;; \*\// p' | \
22 sed -e 's/;; *//' \
23     -e 's/@section/@subsection/' \
24     -e 's/@page \([^.]*\).mim/@section \1 \1.mim --/'
25
26 # Local Variables:
27 # coding: euc-jp
28 # End: