-bug-bash, +help-bash Bruce Dawson wrote:
> Chris Down pointed that out. My loop now looks like this -- portable (I > believe) and fast: > > BashCount() { > for (( i = $1 ; i > 0 ; i-- )); do Not actually portable to non ksh-based shells. See <http://unix.org/2008edition/> for hints. Hope that helps, Jonathan