diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/makecolumns.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/makecolumns.sh b/src/makecolumns.sh index 5ee4f4a..4986157 100644 --- a/src/makecolumns.sh +++ b/src/makecolumns.sh | |||
@@ -174,10 +174,11 @@ handle_new_format() { | |||
174 | ../bin/decompress $1/phonebook.db | grep -v appropriate | 174 | ../bin/decompress $1/phonebook.db | grep -v appropriate |
175 | 175 | ||
176 | numfiles=`find . -name file_\* | wc -l` | 176 | numfiles=`find . -name file_\* | wc -l` |
177 | printf "done.\nFound %d entries.\n" $numfiles | 177 | printf "done.\n" |
178 | 178 | ||
179 | printf "Splitting decompressed chunks into their columns ... " | 179 | printf "Splitting decompressed chunks into their columns (11 total) ... " |
180 | for column in `jot - 0 10 1`; do | 180 | for column in `jot - 0 10 1`; do |
181 | printf "%d, " $column | ||
181 | for file in `jot - ${column} $(( numfiles - 1 )) 11`; do | 182 | for file in `jot - ${column} $(( numfiles - 1 )) 11`; do |
182 | acton=`printf file_%05X ${file}` | 183 | acton=`printf file_%05X ${file}` |
183 | if [ ${column} = 0 ]; then | 184 | if [ ${column} = 0 ]; then |