From 265bd077be941236831c028441e9b3dfa097e6ef Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 17 Aug 2024 00:00:09 +0200 Subject: Fixup broken files in 2023_Q1 --- makecolumns.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/makecolumns.sh b/makecolumns.sh index a505d31..1a0e271 100755 --- a/makecolumns.sh +++ b/makecolumns.sh @@ -392,6 +392,14 @@ handle_format_version_4() { printf "Extracting phonebook.db ... " extract_version_4 "$1/phonebook.db" + # Fixup broken file in 2023_Q1 + case $1 in *2023_Q1*) + head -c 442 file_17F0A > file_17F0A_ + printf '\0' >> file_17F0A_ + tail -c +536 file_17F0A >> file_17F0A_ + mv file_17F0A_ file_17F0A + esac + rows=`find . -name file_\* | wc -l` printf "done.\n" -- cgit v1.2.3