From 632c350fcf2021620afd032994e6e32c34c6dbfb Mon Sep 17 00:00:00 2001 From: User Erdgeist Date: Fri, 14 Feb 2014 01:15:43 +0000 Subject: Fix off by one --- src/makecolumns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { for col in 1 2 3 4 5 6 7 8 9 10; do printf "%d, " $(( col + 1 )) - jot -w "file_%05X" - ${col} ${rows} 11 | xargs cat | tr '\n\0' '\t\n' > column_${col} + jot -w "file_%05X" - ${col} $(( rows - 1 )) 11 | xargs cat | tr '\n\0' '\t\n' > column_${col} done printf "done.\n" -- cgit v1.2.3