diff options
Diffstat (limited to 'makecolumns.sh')
-rwxr-xr-x | makecolumns.sh | 18 |
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 | ||
136 | handle_format_version_3() { | 154 | handle_format_version_3() { |