#!/usr/bin/perl # # dbstripcomments # Copyright (C) 1991-1998 by John Heidemann # $Id: dbstripcomments,v 1.12 2003/05/23 04:17:51 johnh Exp $ # # This program is distributed under terms of the GNU general # public license, version 2. See the file COPYING # in $dblibdir for details. # sub usage { print STDERR <getopt) { $ch = $dbopts->opt; if ($ch eq 'h') { $leave_header = 1; } else { &usage; }; }; if ($leave_header) { my($h); $h = ; print $h; } while () { if ($_ =~ /^\#/) { # print $_; next; }; print $_; }; # print "# | $0\n"; exit 0;