Allow shell wildcards in input file names
authorDario Sestito <darios@symbian.org>
Tue, 29 Jun 2010 11:58:24 +0100
changeset 295 a215187752cf
parent 294 60fee4a35d67
child 296 7f69aca41ac4
Allow shell wildcards in input file names
uh_parser/uh.pl
--- a/uh_parser/uh.pl	Mon Jun 28 14:13:42 2010 +0100
+++ b/uh_parser/uh.pl	Tue Jun 29 11:58:24 2010 +0100
@@ -42,7 +42,11 @@
 	'basedir=s' => \$basedir,
 	'help!' => \$help
 ));
-my @logfiles = @ARGV;
+my @logfiles = ();
+for my $logfilesarg (@ARGV)
+{
+	push(@logfiles, glob($logfilesarg));
+}
 
 if ($help)
 {