Mercurial > repos > mcharles > rapsosnp
annotate rapsodyn/MergeFile2x.pl @ 2:761fecc07fa9 draft
Uploaded
author | mcharles |
---|---|
date | Thu, 11 Sep 2014 03:10:47 -0400 |
parents | 7f36bd129321 |
children |
rev | line source |
---|---|
1 | 1 #!/usr/bin/perl |
2 use strict; | |
3 use warnings; | |
4 | |
5 my $in1 = $ARGV[0]; | |
6 my $in2 = $ARGV[1]; | |
7 | |
8 open(IN1, $in1) or die ("Can't open $in1\n"); | |
9 while (my $line = <IN1>){ | |
10 print $line; | |
11 } | |
12 close (IN1); | |
13 | |
14 open(IN2, $in2) or die ("Can't open $in2\n"); | |
15 while (my $line = <IN2>){ | |
16 print $line; | |
17 } | |
18 close (IN2); | |
19 | |
20 | |
21 |