]>
Commit | Line | Data |
---|---|---|
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 | 7 | BEGIN { 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 | |
14 | END { print " 0,"; | |
15 | print "};"; } |