diff options
-rwxr-xr-x | makecolumns.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/makecolumns.sh b/makecolumns.sh index 8b14dd7..55f23f4 100755 --- a/makecolumns.sh +++ b/makecolumns.sh | |||
@@ -203,7 +203,7 @@ handle_format_version_3() { | |||
203 | printf "done.\n" | 203 | printf "done.\n" |
204 | 204 | ||
205 | printf "Splitting decompress vname chunks into their columns ... " | 205 | printf "Splitting decompress vname chunks into their columns ... " |
206 | JOT "%0${filename_len}d" ${vname_file} $(( number_of_files - 1 )) 3 | xargs cat | tr '\n\0' '\t\n' | tr -d '\377' > 03_Vorname | 206 | JOT "%0${filename_len}d" ${vname_file} $(( number_of_files - 1 )) 3 | xargs -n 128 cat | tr '\n\0' '\t\n' | tr -d '\377' > 03_Vorname |
207 | printf "done.\n" | 207 | printf "done.\n" |
208 | 208 | ||
209 | printf "Splitting decompress table file chunks into their columns ... " | 209 | printf "Splitting decompress table file chunks into their columns ... " |
@@ -300,11 +300,11 @@ handle_format_version_4() { | |||
300 | printf "done.\n" | 300 | printf "done.\n" |
301 | 301 | ||
302 | printf "Splitting decompressed chunks into their columns (11 total) ... 1, " | 302 | printf "Splitting decompressed chunks into their columns (11 total) ... 1, " |
303 | JOT "file_%05X" 0 $(( rows - 1 )) 11 | xargs cat | xxd -ps -c1 > column_0 | 303 | JOT "file_%05X" 0 $(( rows - 1 )) 11 | xargs -n 128 cat | xxd -ps -c1 > column_0 |
304 | 304 | ||
305 | for col in 1 2 3 4 5 6 7 8 9 10; do | 305 | for col in 1 2 3 4 5 6 7 8 9 10; do |
306 | printf "%d, " $(( col + 1 )) | 306 | printf "%d, " $(( col + 1 )) |
307 | JOT "file_%05X" ${col} $(( rows - 1 )) 11 | xargs cat | tr '\n\0' '\t\n' > column_${col} | 307 | JOT "file_%05X" ${col} $(( rows - 1 )) 11 | xargs -n 128 cat | tr '\n\0' '\t\n' > column_${col} |
308 | done | 308 | done |
309 | printf "done.\n" | 309 | printf "done.\n" |
310 | 310 | ||