comparison qtuti/95y/mkgo.pl @ 7:3b16a1b57e00 draft default tip

add qtuti/95y.
author pyon
date Sat, 27 Nov 2021 14:50:30 +0900
parents
children
comparison
equal deleted inserted replaced
6:c17740b2286a 7:3b16a1b57e00
1 use utf8;
2
3 open my $f, '<', $ARGV[1];
4 my $cpp = do{local $/; <$f>};
5 close $f;
6
7 open $f, '<', $ARGV[0];
8 while (<$f>) {
9 s/##### C_SOURCE #####/$cpp/;
10 print;
11 }
12 close $f;
13