summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUser Erdgeist <erdgeist@avon.ccc.de>2014-02-13 21:17:22 +0000
committerUser Erdgeist <erdgeist@avon.ccc.de>2014-02-13 21:17:22 +0000
commit156dde9d0c57291d6154a51486b479ce36d7d3f3 (patch)
treef41bd7a78068d43208cf5d2bf93e13710cf31c95
parentbf154653c1c49eafcf5c47dcded2bf5946aea3d7 (diff)
parentaa190c8e82fc36054a26cffb6e32c1c47516b310 (diff)
Merge branch 'master' of erdgeist.org:Telefonbuch
-rwxr-xr-xsrc/makecolumns.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makecolumns.sh b/src/makecolumns.sh
index f5803c6..ff8a1e4 100755
--- a/src/makecolumns.sh
+++ b/src/makecolumns.sh
@@ -204,7 +204,7 @@ handle_new_format() {
204 printf "done.\n" 204 printf "done.\n"
205 205
206 printf "Splitting decompressed chunks into their columns (11 total) ... 1, " 206 printf "Splitting decompressed chunks into their columns (11 total) ... 1, "
207 jot -w "file_%05X" - 0 $rows 11 | xargs cat | xxd -ps -c1 > column_0 207 jot -w "file_%05X" - 0 $(( rows - 1 )) 11 | xargs cat | xxd -ps -c1 > column_0
208 208
209 for col in 1 2 3 4 5 6 7 8 9 10; do 209 for col in 1 2 3 4 5 6 7 8 9 10; do
210 printf "%d, " $(( col + 1 )) 210 printf "%d, " $(( col + 1 ))