#!/usr/bin/perl -w # # dbcoldefine # Copyright (C) 1991-1998 by John Heidemann # $Id: dbcoldefine,v 1.15 2003/05/23 04:15:41 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 <getopt) { $ch = $dbopts->opt; if ($ch eq 'F') { $fs_code = $dbopts->optarg; ($fsre, $outfs) = fs_code_to_fsre_outfs($fs_code); push(@coloptions, "-F$fs_code"); } else { &usage; }; }; &usage if ($#ARGV < 0); my(@orig_argv) = @ARGV; my($prog) = &progname; @colnames = @ARGV; &write_header(); while () { print $_; }; print "# | $prog ", join(" ", @orig_argv), "\n"; exit 0; if (0) { my $x; $x = $coloptions[0] = $fsre = $outfs = $colnames[0]; };