Initial commit from latest tar.gz file

This commit is contained in:
Godzil
2018-01-31 14:10:57 +00:00
commit dfbf66ea39
449 changed files with 50397 additions and 0 deletions

19
pch/script/merge.pl Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/perl
$out=<>;
$out=~s/\r//g;
chomp $out;
-e $out and die "file already exists, cowardly exiting";
open OUT,">",$out or die "failed to write file";
$param=<>;
$param=~s/\r//g;
chomp $param;
die "extended merges aren't supported" if $param!='';
while (<>) {
chomp;
s/\r//g;
open FILE,"<",$_ or die "failed to open file";
print OUT while <FILE>;
close FILE;
}
close OUT;