plan9port/man/man1/sleep.1
2005-01-03 06:40:20 +00:00

31 lines
401 B
Groff

.TH SLEEP 1
.SH NAME
sleep \- suspend execution for an interval
.SH SYNOPSIS
.B sleep
.I time
.SH DESCRIPTION
.I Sleep
suspends execution for
.I time
seconds.
.SH EXAMPLES
Execute a command
100 seconds hence.
.IP
.EX
{sleep 100; command}&
.EE
.PP
Repeat a command every 30 seconds.
.IP
.EX
while (){
command
sleep 30
}
.EE
.SH SOURCE
.B /usr/local/plan9/src/cmd/sleep.c
.SH "SEE ALSO"
.IR sleep (3)