core/builtins/repeat.cif
changeset 0 7f656887cf89
child 66 2a78c4ff2eab
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 # repeat.cif
       
     2 # 
       
     3 # Copyright (c) 2010 Accenture. All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 # 
       
     9 # Initial Contributors:
       
    10 # Accenture - Initial contribution
       
    11 #
       
    12 
       
    13 ==name repeat
       
    14 
       
    15 ==short-description
       
    16 
       
    17 Execute a command-line multiple times.
       
    18 
       
    19 ==long-description
       
    20 
       
    21 On each iteration, the environment variable C<REPEAT_COUNT> is set to an integer value representing the iteration number currently being processed. This can be used, for example, to produce unique file names.
       
    22 
       
    23 ==argument uint count
       
    24 
       
    25 The number of repetitions to perform. If set to zero, will repeat indefinitely.
       
    26 
       
    27 ==argument string command last
       
    28 
       
    29 The command to run.
       
    30 
       
    31 ==option bool k keep-going
       
    32 
       
    33 If an iteration returns an error, proceed with the next iteration. Ordinarily execution will abort if an error is returned.
       
    34 
       
    35 ==option int w wait
       
    36 
       
    37 If specified, wait this number of milliseconds between iterations.
       
    38 
       
    39 ==copyright
       
    40 
       
    41 Copyright (c) 2006-2010 Accenture. All rights reserved.
       
    42