~tardypad/dotfiles

ref: f37f64d54c959fb7ec9796c00b8a3f7d4bbbd08c dotfiles/files/docs/shell/loop.scd -rw-r--r-- 559 bytes
f37f64d5 — Damien Tardy-Panis Only show task name if -n option is set 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
loop(1perso)

# NAME

loop - Execute a command in a loop

# SYNOPSIS

loop [-c _count_] [-i _interval_] [-t _time_] _command_

# DESCRIPTION

Execute a command in a loop.

The $i variable used as a counter of the executions can be used in the command.

# OPTIONS

*-c* _count_
	stops after _count_ runs of the command

*-i* _interval_
	wait _interval_ seconds between each command run

*-t* _time_
	stops command runs after a _time_ seconds period

# OPERANDS

_command_
	Command to execute

# ENVIRONMENT VARIABLES

None

# FILES

None

# DEPENDENCIES

None