#!/usr/bin/perl -w #========================================================= # $Id$ # Removes the English text from stdin or files. # # This complicated piece of software is licensed under the # GNU General Public License. #========================================================= use strict; $| = 1; use Getopt::Std; our ($opt_h) = (0); getopts('h') || die("Option error. Use -h for help.\n"); $opt_h && usage(0); my $Data = join("", <>); $Data =~ s/\n *?\s*?\n/\n/gs; print($Data); sub usage { my $Retval = shift; print(<