diff options
-rwxr-xr-x | src/makecolumns.sh | 2 |
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 )) |