diff options
Diffstat (limited to 'include/control/uncomment.pl')
-rwxr-xr-x | include/control/uncomment.pl | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/control/uncomment.pl b/include/control/uncomment.pl deleted file mode 100755 index f06f52c..0000000 --- a/include/control/uncomment.pl +++ /dev/null @@ -1,24 +0,0 @@ -use strict; -use warnings; - -foreach (@ARGV) -{ - - open FILE, $_ or die "Couldn't open file: $!"; - my $string = join("", <FILE>); - close FILE; - - $string=~ s|/[*].*?[*]/||sg; - $string=~ s/virtual//sg; - $string=~ s/=0;/;/sg; - $string=~ s/(^|\n)[\n\s]*/$1/g; - - open F, ">$_" or die "Couldn't open file: $!"; - print F $string; - close F; -} - - - - - |