mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
20 lines
314 B
Perl
20 lines
314 B
Perl
#! /usr/bin/perl -w
|
|
use strict;
|
|
|
|
my $cmd_string = join (" ",@ARGV);
|
|
my $results = `$cmd_string`;
|
|
my @files = split("\n",$results);
|
|
foreach my $thisLine (@files)
|
|
{
|
|
if ($thisLine =~ /Created /)
|
|
{
|
|
$thisLine =~ /[\w|\.]+$/;
|
|
$thisLine =$&;
|
|
print "outfile: $thisLine\n";
|
|
}
|
|
else
|
|
{
|
|
print $thisLine,"\n";
|
|
}
|
|
}
|