<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 10 March 2017 at 17:26, Mark Hatle <span dir="ltr">&lt;<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:10h" class="gmail-a3s gmail-aXjCH gmail-m15ab9423eeb69b03">Just an FYI, I was concerned that $(( ))  (in the new script) was a bash-ism,<br>
but I was able to run the script on an Ubuntu machine using &#39;dash&#39; as /bin/sh.<br></div></blockquote><div><br></div><div><a href="http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_04">http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_04</a><br></div><div><br></div><div>bash adds more operators such as ++, but basic maths is POSIX.</div><div><br></div><div>Ross</div></div></div></div>