summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-05-15 00:51:06 +0200
committerDirk Engling <erdgeist@erdgeist.org>2015-05-15 00:51:06 +0200
commit4735ef0c0240631149b9bb6b82d192996f7efc83 (patch)
tree450712f57f9d38fa466b545a9b64e53649abce1e
parent2465d2d3af2612998dfc2318564b4788f2e4bd94 (diff)
Move the files to standard name scheme
-rwxr-xr-xmakecolumns.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/makecolumns.sh b/makecolumns.sh
index c3f6f95..810992d 100755
--- a/makecolumns.sh
+++ b/makecolumns.sh
@@ -131,6 +131,24 @@ handle_format_version_2() {
131 cd=$((cd+1)) 131 cd=$((cd+1))
132 done 132 done
133 133
134 mv 01_unknown 01_Flags
135 mv 17_unknown 02_Nachname
136 mv 08_unknown 03_Vorname
137 mv 15_unknown 04_Namenszusatz
138 mv 12_unknown 05_Adresszusatz
139 mv 13_unknown 06_Ortszusatz
140 mv 09_unknown 07_Strasse
141 mv 11_unknown 08_Hausnummer
142 mv 14_unknown 09_Fax_Verweise
143 mv 02_unknown 10_Postleitzahl
144 mv 16_unknown 11_Ort
145 mv 06_unknown 12_Vorwahl
146 mv 07_unknown 13_Rufnummer
147
148 printf "Normalizing zusaetze ... "
149 lam 04_Namenszusatz 05_Adresszusatz | tr '\t' ' ' | sed -E s/' +'/' '/g > 04_Zusaetze
150 printf "done.\n"
151
134} 152}
135 153
136handle_format_version_3() { 154handle_format_version_3() {