<code>{1..4}</code> expands to <code>1 2 3 4</code>.
Note that the expression <code>{1..N}</code> cannot contain spaces.</p>
<p>To run 4 chains for the example bernoulli model on MacOS or Linux:</p>
<pre><code>&gt; for i in {1..4}
    do
      ./bernoulli sample data file=bernoulli.data.json \
      output file=output_${i}.csv
    done</code></pre>
<p>The backslash (<code>\</code>) indicates a line continuation in Unix.
The expression <code>${i}</code> substitutes in the value of loop index variable <code>i