1 <span class="co0">#!/bin/bash</span>
2 <span class="kw1">for</span> prog <span class="kw1">in</span> <span class="sy0">*</span>.pico
3 <span class="kw1">do</span>
4 <span class="kw3">echo</span> <span class="st0">"<span class="es2">$prog</span>"</span>
5 <span class="re2">prog_name</span>=<span class="co1">${prog%\.*}</span>
6 .<span class="sy0">/</span>run_test.sh <span class="st0">"<span class="es2">$prog_name</span>"</span>
7 <span class="kw1">done</span>