]> andersk Git - moira.git/blame_incremental - db/db2tbls_sql.awk
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / db / db2tbls_sql.awk
... / ...
CommitLineData
1# $Source$
2# $Header$
3#
4# This converts the file used to originally create the database
5# into a list of tables.
6
7BEGIN { print "/* This file is automatically generated */";
8 print "/* Do not edit */";
9 print "char *tables[] = {";
10}
11
12/^CREATE TABLE/ { printf " \"%s\",\n", $3; }
13
14END { print " 0,";
15 print "};"; }
This page took 0.032913 seconds and 5 git commands to generate.