*** empty log message ***
[m17n/m17n-docs.git] / utils / exprog.sh
index 15d0030..53f9f4d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 cat <<EOF
 #!/bin/sh
 
 cat <<EOF
-/***en @page m17nExProg Example Programs
+/***en @page m17nExProg Sample Programs
 
 This section describes these example programs.  They are to demonstrate
 the usage of the m17n library, not for practical use.
 
 This section describes these example programs.  They are to demonstrate
 the usage of the m17n library, not for practical use.
@@ -9,7 +9,23 @@ the usage of the m17n library, not for practical use.
 <ul>
 EOF
 
 <ul>
 EOF
 
-cat $* | grep '@page' | sed -e 's/@page \([^ ]*\)/<li> @ref \1 "\1" --/'
+cat $* | grep '@enpage' | sed -e 's/@enpage \([^ ]*\)/<li> @ref \1 "\1" --/'
+
+cat <<EOF
+</ul>
+*/
+EOF
+
+cat <<EOF
+/***ja @page m17nExProg ¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à
+
+¤³¤³¤Ç¤Ï°Ê²¼¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤òÀâÌÀ¤¹¤ë¡£¤³¤ì¤é¤Î¥×¥í¥°¥é¥àm17n ¥é
+¥¤¥Ö¥é¥ê¤Î»È¤¤Êý¤òÀâÌÀ¤¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢¼ÂºÝ¤Î»ÈÍѤò°Õ¿Þ¤·¤¿¤â¤Î¤Ç¤Ï¤Ê¤¤¡£
+
+<ul>
+EOF
+
+cat $* | grep '@japage' | sed -e 's/@japage \([^ ]*\)/<li> @ref \1 "\1" --/'
 
 cat <<EOF
 </ul>
 
 cat <<EOF
 </ul>
@@ -19,4 +35,8 @@ EOF
 cat $* | \
 sed -n -e '/\/\*\*\*/,/\*\// p' | \
 sed -e 's/@section/@subsection/' \
 cat $* | \
 sed -n -e '/\/\*\*\*/,/\*\// p' | \
 sed -e 's/@section/@subsection/' \
-    -e 's/@page \([^ ]*\)/@section \1 \1 --/'
+    -e 's/@..page \([^ ]*\)/@section \1 \1 --/'
+
+# Local Variables:
+# coding: euc-jp
+# End: