diff options
author | User Erdgeist <erdgeist@avon.ccc.de> | 2014-02-03 08:26:25 +0000 |
---|---|---|
committer | User Erdgeist <erdgeist@avon.ccc.de> | 2014-02-03 08:26:25 +0000 |
commit | 28f69830d8f320baf8d7dd5479c810a9af77c218 (patch) | |
tree | 82ffebd0cfbebcacda16773e7fcbd26055c34203 | |
parent | 029de7b13d490bc41bd546d3218d37bd4ca1c445 (diff) |
Be more verbose during column extraction. Number of extracted files is not noteworthy
-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 |