#!/bin/csh # # ClearTables # if ($1 == "" || $2 == "" ) then echo " " echo Usage: "$0 " echo " " exit endif psql $2 < Clear$1Tables.script