home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-04-02 | 339 b | 25 lines | [TEXT/CWIE] |
- Perl -Sx "{0}" {"Parameters"}; Exit
-
- #!perl
-
- open(RN, ">StdLib.rn") || die;
- open(DF, ">StdLib.df") || die;
-
- while ($ARGV[0] =~ /(.*)=(.*)/) {
- print RN "-rn $1=$2 " unless ($1 eq $2);
- $keep{$1} = 1;
- shift @ARGV;
- }
-
- while (<>) {
- if (/^(\S+).*\$/ || /EP=(\S+)/) {
- unless ($keep{$1}) {
- print DF "$1\n";
- }
- }
- }
-
- close DF;
- close RN;
-
-