From 3e2ed592a802cb1b7136f9048eec9f984ec8c5f1 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 18 Nov 2009 06:34:05 +0000 Subject: Limit to 10 columns, convert streets 0x00 to 0x0a before passing to el --- src/makecolumns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/makecolumns.sh') diff --git a/src/makecolumns.sh b/src/makecolumns.sh index e250ec9..cb416df 100644 --- a/src/makecolumns.sh +++ b/src/makecolumns.sh @@ -33,7 +33,7 @@ rm file_* numfiles=`find . -name file_\* | wc -l` -for column in `jot - 0 11 1`; do +for column in `jot - 0 10 1`; do for file in `jot - ${column} ${numfiles} 11`; do acton=`printf file_%05x ${file}` if [ ${column} = 0 ]; then @@ -56,7 +56,7 @@ mv column_8 11_Ort mv column_9 13_Rufnummer mv column_10 14_15_Email_Webadresse -[ -e streets ] && mv streets 99_Strassenname +[ -e streets ] && tr '\0' '\n' < streets > 99_Strassenname && rm streets if [ -e 99_Strassenname ]; then cut -f 1 07_08_Strassenindex_Hausnummer | ${EL} -0 99_Strassenname > 07_Strasse -- cgit v1.2.3