summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUser Erdgeist <erdgeist@avon.ccc.de>2014-02-14 01:15:43 +0000
committerUser Erdgeist <erdgeist@avon.ccc.de>2014-02-14 01:15:43 +0000
commit632c350fcf2021620afd032994e6e32c34c6dbfb (patch)
tree6953dbb918fa1dd87f4951adffde5d19cb2e20fc /src
parentf5a181640e97d02bf801d661ac31f3f40bd05200 (diff)
Fix off by one
Diffstat (limited to 'src')
-rwxr-xr-xsrc/makecolumns.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makecolumns.sh b/src/makecolumns.sh
index e270e18..04806fb 100755
--- a/src/makecolumns.sh
+++ b/src/makecolumns.sh
@@ -207,7 +207,7 @@ handle_new_format() {
207 207
208 for col in 1 2 3 4 5 6 7 8 9 10; do 208 for col in 1 2 3 4 5 6 7 8 9 10; do
209 printf "%d, " $(( col + 1 )) 209 printf "%d, " $(( col + 1 ))
210 jot -w "file_%05X" - ${col} ${rows} 11 | xargs cat | tr '\n\0' '\t\n' > column_${col} 210 jot -w "file_%05X" - ${col} $(( rows - 1 )) 11 | xargs cat | tr '\n\0' '\t\n' > column_${col}
211 done 211 done
212 printf "done.\n" 212 printf "done.\n"
213 213