We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72cab6b commit c746815Copy full SHA for c746815
jobArray.sh
@@ -17,4 +17,4 @@ function echoMe {
17
exit 0
18
}
19
20
-echoMe ${input[$SGE_TASK_ID]}
+echoMe ${input[$SGE_TASK_ID-1]} # as $SGE_TASK_ID starts from 1 and bash array index starts from 0
0 commit comments