From 4735ef0c0240631149b9bb6b82d192996f7efc83 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 15 May 2015 00:51:06 +0200 Subject: Move the files to standard name scheme --- makecolumns.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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() { cd=$((cd+1)) done + mv 01_unknown 01_Flags + mv 17_unknown 02_Nachname + mv 08_unknown 03_Vorname + mv 15_unknown 04_Namenszusatz + mv 12_unknown 05_Adresszusatz + mv 13_unknown 06_Ortszusatz + mv 09_unknown 07_Strasse + mv 11_unknown 08_Hausnummer + mv 14_unknown 09_Fax_Verweise + mv 02_unknown 10_Postleitzahl + mv 16_unknown 11_Ort + mv 06_unknown 12_Vorwahl + mv 07_unknown 13_Rufnummer + + printf "Normalizing zusaetze ... " + lam 04_Namenszusatz 05_Adresszusatz | tr '\t' ' ' | sed -E s/' +'/' '/g > 04_Zusaetze + printf "done.\n" + } handle_format_version_3() { -- cgit v1.2.3