]> andersk Git - moira.git/commitdiff
Initial revision
authorkostas <kostas>
Wed, 26 Sep 1990 09:19:27 +0000 (09:19 +0000)
committerkostas <kostas>
Wed, 26 Sep 1990 09:19:27 +0000 (09:19 +0000)
db/db2tbls_sql.awk [new file with mode: 0644]

diff --git a/db/db2tbls_sql.awk b/db/db2tbls_sql.awk
new file mode 100644 (file)
index 0000000..7e072a0
--- /dev/null
@@ -0,0 +1,15 @@
+#      $Source$
+#      $Header$
+#
+#      This converts the file used to originally create the database
+#      into a list of tables.
+
+BEGIN { print "/* This file automatically generated */";
+       print "/* Do not edit */";
+       print "char *tables[] = {";
+}
+
+/^create/ { printf "   \"%s\",\n", $2; }
+
+END   { print "        0,";
+       print "};"; }
This page took 0.085606 seconds and 5 git commands to generate.