Files
dockerized-swg/gameserver/utils/tools/dataLintParser.pl
2018-01-11 21:02:00 -05:00

12 lines
142 B
Perl
Executable File

$what = shift;
while ($a = <>)
{
if ($a =~ /^\s*\d+\s+Error:/)
{
print if (eval $what);
$_ = "";
}
$_ .= $a;
}
print if (eval $what);