summaryrefslogtreecommitdiffstats
path: root/src/kile1.9-1_upd.pl
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-10 03:05:17 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-10 03:05:17 +0000
commit2c945cd914550233ed352ff195afeb4dd793f122 (patch)
tree4796bfab5733942b90b5a66bb05655be5fdcca03 /src/kile1.9-1_upd.pl
downloadkile-2c945cd914550233ed352ff195afeb4dd793f122.tar.gz
kile-2c945cd914550233ed352ff195afeb4dd793f122.zip
Added abandoned KDE3 version of Kile
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1088055 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kile1.9-1_upd.pl')
-rw-r--r--src/kile1.9-1_upd.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/kile1.9-1_upd.pl b/src/kile1.9-1_upd.pl
new file mode 100644
index 0000000..d180b9e
--- /dev/null
+++ b/src/kile1.9-1_upd.pl
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+
+# tbraun 23.2.2006
+# change names of cwl files
+
+foreach (<>)
+{
+$content=$_;
+$content=~ s/(0|1)-Common//g; # is now in latex-document
+$content=~ s/(0|1)-Latex/\1-latex-document/g;
+$content=~ s/(0|1)-Tex/\1-tex/g;
+$content=~ s/(0|1)-MathSymbols/\1-latex-mathsymbols/g;
+
+#clean up
+$content=~ s/,,/,/g;
+$content=~ s/(CompleteTex=),/\1/g;
+$content=~ s/,$//g;
+
+print $content;
+}