~nabijaczleweli/voreutils

ref: 00e172c964908009f991cf285cb614d9f108f6e4 voreutils/man1/sleep.1 -rw-r--r-- 1014 bytes
00e172c9 — наб autouploader Manpage update by job 521375 5 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.\" SPDX-License-Identifier: 0BSD
.\"
.TH "SLEEP" "1" "June 7, 2021" "voreutils 73d8048" "General Commands Manual"
.nh
.if n .ad l
.SH "NAME"
\fBsleep\fR
\- do nothing, slowly
.SH "SYNOPSIS"
.HP 6n
\fBsleep\fR
\fIdelay\fR[\fBsmhdwy\fR]\[u2026]
.SH "DESCRIPTION"
Sleep for the the time(s) specified.
Each
\fIdelay\fR
is a floating-point amount of seconds, optionally suffixed with one of the following cumulative multipliers:
.RS 6n
.PD 0
.TP 11n
\fBs\fR(econds)
\fB1\fR
.TP 11n
\fBm\fR(inutes)
\fB60\fR
.TP 11n
\fBh\fR(hours)
\fB60\fR
.TP 11n
\fBd\fR(ays)
\fB24\fR
.TP 11n
\fBw\fR(eeks)
\fB7\fR
.TP 11n
\fBy\fR(ears)
\fB365.25 / 7\fR
.RE
.PD
.SH "EXAMPLES"
Wait a half-second:
.RS 6n
\fBsleep\fR \fI0.5\fR
.RE
.RS 6n
\fBsleep\fR \fI1.388e-4\fR\fBh\fR
.RE
.PP
Wait a year:
.RS 6n
\fBsleep\fR \fI1\fR\fBy\fR
.RE
.RS 6n
\fBsleep\fR \fI3.1e+7\fR
.RE
.PP
Wait infinitely, or until the heat death of the universe:
.RS 6n
\fBsleep\fR \fIINF\fR\fBs\fR
.RE
.RS 6n
\fBsleep\fR \fI10e+100y\fR
.RE
.SH "SEE ALSO"
nanosleep(2)