diff rapsodyn/MergeMultiFile.pl @ 7:3f7b0788a1c4 draft

Uploaded
author mcharles
date Tue, 07 Oct 2014 10:34:34 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/MergeMultiFile.pl	Tue Oct 07 10:34:34 2014 -0400
@@ -0,0 +1,15 @@
+#!/usr/bin/perl
+#V1.0.0
+use strict;
+use warnings;
+
+my @files = split(/,/,$ARGV[0]);
+for (my $i=0;$i<=$#files;$i++){
+	
+	open(IN, $files[$i]) or die ("Can't open ",$files[$i],"\n");
+	while (my $line = <IN>){
+		print $line;
+	}
+	close (IN);
+}
+