[Rt-commit] r13692 - rt/3.8/trunk/sbin
clkao at bestpractical.com
clkao at bestpractical.com
Mon Jun 30 10:31:55 EDT 2008
Author: clkao
Date: Mon Jun 30 10:31:54 2008
New Revision: 13692
Added:
rt/3.8/trunk/sbin/tweak-template-locstring
Log:
script to tweak loc strings leading and trailing spaces for
mason templates.
Added: rt/3.8/trunk/sbin/tweak-template-locstring
==============================================================================
--- (empty file)
+++ rt/3.8/trunk/sbin/tweak-template-locstring Mon Jun 30 10:31:54 2008
@@ -0,0 +1,12 @@
+#!/usr/bin/perl -w
+use strict;
+
+
+#local $/;
+
+#$_ = <>;
+s!\<\&\|\/l\&\>[\n\s]+(.*?)[\n\s]*\<\/\&\>!my $x = $1; $x =~ s/\s*\n\s*/ /g;"<&|/l&>$x</&>"!smge;
+#print $_;
+
+
+1;
More information about the Rt-commit
mailing list