# $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 "};"; }