#!/bin/sh

outfile="dump_table.sql"

if [ ! -f "$1" ]; then
  echo "Usage: $0 LIST_OF_TABLE_FILE"
  exit 1
fi
echo "set echo on" > $outfile
for tbl in `cat $1`; do
  echo "desc $tbl" >> $outfile
done
