projects
/
m17n
/
m17n-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eec4e9
)
*** empty log message ***
author
handa
<handa>
Wed, 27 Aug 2003 00:19:03 +0000
(
00:19
+0000)
committer
handa
<handa>
Wed, 27 Aug 2003 00:19:03 +0000
(
00:19
+0000)
utils/dbdata.awk
[new file with mode: 0644]
patch
|
blob
diff --git a/utils/dbdata.awk
b/utils/dbdata.awk
new file mode 100644
(file)
index 0000000..
be6fd3f
--- /dev/null
+++ b/
utils/dbdata.awk
@@ -0,0
+1,19
@@
+BEGIN {
+ print "/***";
+}
+
+/".*\.(tbl|mim|tab|flt)"/ {
+ FROM=match($0, "\".*\.(tbl|mim|tab|flt)\"") + 1;
+ LEN=RLENGTH-2;
+ FILE=substr($0, FROM, LEN);
+ system("sed -n '/^[;#][;#]* <li>/,/^$/s/^[;#][;#]* *//p' "FILE);
+ printf "\n";
+}
+
+/^;; / {
+ print substr($0, 4);
+}
+
+END {
+ print "*/";
+}