diff options
Diffstat (limited to 'makecolumns.sh')
-rwxr-xr-x | makecolumns.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/makecolumns.sh b/makecolumns.sh index ee31f82..edd965c 100755 --- a/makecolumns.sh +++ b/makecolumns.sh | |||
@@ -260,7 +260,7 @@ handle_format_version_3() { | |||
260 | # If street names come in an extra file, extract | 260 | # If street names come in an extra file, extract |
261 | # street names first | 261 | # street names first |
262 | streets="$1"/[Dd][Aa][Tt]/[Ss][Tt][Rr][Aa][Ss][Ss][Ee][Nn].[Dd][Aa][Tt] | 262 | streets="$1"/[Dd][Aa][Tt]/[Ss][Tt][Rr][Aa][Ss][Ss][Ee][Nn].[Dd][Aa][Tt] |
263 | [ -f ${streets} ] && do_processfile_version_3 ${streets} "street name" 99_Strassenname convert_zeros | 263 | [ -f "${streets}" ] && do_processfile_version_3 "${streets}" "street name" 99_Strassenname convert_zeros |
264 | 264 | ||
265 | # extract street names if 07_unknown contains street indexes | 265 | # extract street names if 07_unknown contains street indexes |
266 | # instead of street names | 266 | # instead of street names |
@@ -281,8 +281,8 @@ handle_format_version_3() { | |||
281 | fi | 281 | fi |
282 | 282 | ||
283 | karto="$1"/[Dd][Aa][Tt]/[Kk][Aa][Rr][Tt][Oo].[Dd][Aa][Tt] | 283 | karto="$1"/[Dd][Aa][Tt]/[Kk][Aa][Rr][Tt][Oo].[Dd][Aa][Tt] |
284 | if [ -f ${karto} ]; then | 284 | if [ -f "${karto}" ]; then |
285 | do_processfile_version_3 ${karto} "geo coordinates" 90_Geokoordinaten_hnr_raw | 285 | do_processfile_version_3 "${karto}" "geo coordinates" 90_Geokoordinaten_hnr_raw |
286 | 286 | ||
287 | printf "Looking up geo coordinates for each phonebook entry ... " | 287 | printf "Looking up geo coordinates for each phonebook entry ... " |
288 | tr '\0' '\n' < 90_Geokoordinaten_hnr_raw | tr ';' '\t' | cut -f "1,2,3,4,6,7" | tr '\n' '\0' > 90_Geokoordinaten_hnr | 288 | tr '\0' '\n' < 90_Geokoordinaten_hnr_raw | tr ';' '\t' | cut -f "1,2,3,4,6,7" | tr '\n' '\0' > 90_Geokoordinaten_hnr |