bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug/limitation in 'time'


From: Jonathan Nieder
Subject: Re: Bug/limitation in 'time'
Date: Sun, 17 Mar 2013 22:07:41 -0700
User-agent: Mutt/1.5.21+51 (9e756d1adb76) (2011-07-01)

-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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]