File: germanize

package info (click to toggle)
installmanual-de 2.1-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 560 kB
  • ctags: 26
  • sloc: lisp: 221; makefile: 146; sh: 89
file content (14 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

for f in $*
do
    cat $f | sed -e 's/subsubsection/Unterunterabschnitt/g' \
	-e 's/subsection/Unterabschnitt/g' \
	-e 's/section/Abschnitt/g' \
	-e 's/chapter/Kapitel/g'\
	-e 's/Abstract/Zusammenfassung/g'\
	-e 's/Contents/Inhaltsverzeichnis/g'\
	-e 's/ version / Version /g' > $f.new
    cat $f.new > $f
    rm -f $f.new
done