executor/util/commonify.pl

10 lines
144 B
Perl
Executable File

#!/usr/bin/perl
while (<STDIN>) {
if (!$found && /^\#include/) {
print "#include \"rsys/common.h\"\n";
$found = 1;
}
print $_;
}