summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakecolumns.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/makecolumns.sh b/makecolumns.sh
index 38c916e..8337b12 100755
--- a/makecolumns.sh
+++ b/makecolumns.sh
@@ -105,6 +105,7 @@ handle_format_version_1() {
105 mv 12_unknown 13_Rufnummer 105 mv 12_unknown 13_Rufnummer
106 mv 13_unknown 11_Ort 106 mv 13_unknown 11_Ort
107 mv 14_unknown 10_Postleitzahl 107 mv 14_unknown 10_Postleitzahl
108
108} 109}
109 110
110 111
@@ -186,6 +187,8 @@ handle_format_version_2() {
186 [ -f 14_unknown ] && mv 14_unknown 14_Email 187 [ -f 14_unknown ] && mv 14_unknown 14_Email
187 [ -f 15_unknown ] && mv 15_unknown 15_Webadresse 188 [ -f 15_unknown ] && mv 15_unknown 15_Webadresse
188 189
190 sed -i '' -e s:^1$:00:g -e s:^3$:01:g -e s:^2$:02:g 01_Flags
191
189 # If street names come in an extra file, extract 192 # If street names come in an extra file, extract
190 # street names first 193 # street names first
191 streets=$1/[Dd][Aa][Tt]/[Ss][Tt][Rr][Aa][Ss][Ss][Ee][Nn].[Dd][Aa][Tt] 194 streets=$1/[Dd][Aa][Tt]/[Ss][Tt][Rr][Aa][Ss][Ss][Ee][Nn].[Dd][Aa][Tt]