*** empty log message ***
authorhanda <handa>
Wed, 27 Aug 2003 00:19:03 +0000 (00:19 +0000)
committerhanda <handa>
Wed, 27 Aug 2003 00:19:03 +0000 (00:19 +0000)
utils/dbdata.awk [new file with mode: 0644]

diff --git a/utils/dbdata.awk b/utils/dbdata.awk
new file mode 100644 (file)
index 0000000..be6fd3f
--- /dev/null
@@ -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 "*/";
+}