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