File:  [Local Repository] / db / prgsrc / dumpequalto.pl
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Dec 3 19:54:48 2001 UTC (22 years, 4 months ago) by roma7
Branches: MAIN
CVS tags: HEAD
Dobavil findequal.pl i dumpequalto.pl

#!/usr/local/bin/perl 

=head1 NAME

dumpequalto.pl - a script for creation of the list of the equal questions

=head1 SYNOPSIS

dumpequalto.pl 

=head1 DESCRIPTION

This script will dump the table EQUALTO 
 to  $equals.

=head1 AUTHOR

Roman Semizarov

=cut

use dbchgk;
use chgkfiles;

output_files(EQUALS);

my %h=getequalto;
my $sch=0;

foreach (keys %h)
{ 
   if (++$sch %100==0){print "$sch...\n"}
   my $first=in2out($_);
   my $second=in2out($h{$_});
   mywrite (EQUALS, first => $first, second => $second);
}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>