Sha256: e13be03f895d9464c9da6d9d062f6c242da23dd54402938339605c3ffcbec506
Contents?: true
Size: 461 Bytes
Versions: 2
Compression:
Stored size: 461 Bytes
Contents
#!/usr/bin/perl -w use strict; my $file; while ($file = shift @ARGV) { print "Processing $file..\n"; open (IN, $file) || die "Can't open $file: $!"; my $entire_file; while(<IN>) { $entire_file = $entire_file . $_; } close (IN); $entire_file =~ s%<GTKDOCLINK\s+HREF="([^"]*)"\s*>(.*?)</GTKDOCLINK\s*>% "<font>$2</font>" %ge; open (OUT, ">$file") || die "Can't open $file: $!"; print OUT $entire_file; close (OUT); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xmlsec-shim-1.2.18.2 | vendor/xmlsec1-1.2.18/scripts/remove-gtkdoclink.pl |
xmlsec-shim-1.2.18.1 | vendor/xmlsec1-1.2.18/scripts/remove-gtkdoclink.pl |