File: kile1.9-1_upd.pl

package info (click to toggle)
kile 4%3A2.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,476 kB
  • ctags: 4,791
  • sloc: cpp: 37,673; xml: 8,061; perl: 374; sh: 219; makefile: 10
file content (20 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
}