Hello David! > I guess 99% of programmers would either expect "Finished" to be printed or > some syntax error.
Well, 99% of shell programmers will (hopefully ;-) ) put a blank between "{" and "echo" in the line foo="$(testCode)" || {echo "foo";} Best regards Martin