Public feed #727554

foxhacker

public text v1 · immutable
Raw Edit
·published 2007-10-06 03:48 UTC
rendered paste body
#!/usr/bin/env perl

use strict;
use warnings;

my ($in,@array,$i,@foo,$foo);
$in=0;

while(<>){
        if (/^OBS ASH CLOUD/) {
                $in=1;
        }
        elsif (/^\n/) {
                $in=0;
        }
        chomp;
        if($in) {
                @array=split(/\s+/);
                push(@foo, @array);
        }
}
shift (@foo);
shift (@foo);
shift (@foo);
shift (@foo);

for ($i=0; $i <= $#foo; $i++) {
        $foo[$i]=~ s/-//g;
}
print "@foo\n";