executor/util/commonify.pl

10 lines
144 B
Perl
Raw Permalink Normal View History

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