*** empty log message ***
[m17n/m17n-docs.git] / utils / dbformat.sh
diff --git a/utils/dbformat.sh b/utils/dbformat.sh
new file mode 100755 (executable)
index 0000000..1a4b108
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+cat <<EOF
+/***en @page m17nDBFormat Data format of the m17n database
+
+This section describes the data formats of the m17n database. */
+
+EOF
+
+sed -n -e '/\/\*\*\*/,/\*\// p' | \
+sed -e 's/@section/@subsection/' \
+    -e 's/@page/@section/'
+
+cat <<EOF
+////
+EOF