Debian Codegraph @

scripts/prints-to-comments.pl

raw
1 #!perl -ln -i.bak
2
3 use strict;
4 use warnings;
5
6 if (/\A( *)print "(#.*?)\\n";\z/)
7 {
8 $_ = "$1$2";
9 }
10 print $_;