summaryrefslogtreecommitdiff
path: root/makecolumns.sh
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-08-17 00:00:09 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-08-17 00:00:09 +0200
commit265bd077be941236831c028441e9b3dfa097e6ef (patch)
treebb3fc7f53dd0ea71c2ed77c0b2c6f329e083ef61 /makecolumns.sh
parentf939e21ee3f96939cb147364732f134cbc737a97 (diff)
Fixup broken files in 2023_Q1
Diffstat (limited to 'makecolumns.sh')
-rwxr-xr-xmakecolumns.sh8
1 files changed, 8 insertions, 0 deletions
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() {
392 printf "Extracting phonebook.db ... " 392 printf "Extracting phonebook.db ... "
393 extract_version_4 "$1/phonebook.db" 393 extract_version_4 "$1/phonebook.db"
394 394
395 # Fixup broken file in 2023_Q1
396 case $1 in *2023_Q1*)
397 head -c 442 file_17F0A > file_17F0A_
398 printf '\0' >> file_17F0A_
399 tail -c +536 file_17F0A >> file_17F0A_
400 mv file_17F0A_ file_17F0A
401 esac
402
395 rows=`find . -name file_\* | wc -l` 403 rows=`find . -name file_\* | wc -l`
396 printf "done.\n" 404 printf "done.\n"
397 405