diff options
Diffstat (limited to 'src/kile1.9-1_upd.pl')
-rw-r--r-- | src/kile1.9-1_upd.pl | 20 |
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; +} |