| sleep.1 - 9base - revived minimalist port of Plan 9 userland to Unix | |
| git clone git://git.suckless.org/9base | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| sleep.1 (388B) | |
| --- | |
| 1 .TH SLEEP 1 | |
| 2 .SH NAME | |
| 3 sleep \- suspend execution for an interval | |
| 4 .SH SYNOPSIS | |
| 5 .B sleep | |
| 6 .I time | |
| 7 .SH DESCRIPTION | |
| 8 .I Sleep | |
| 9 suspends execution for | |
| 10 .I time | |
| 11 seconds. | |
| 12 .SH EXAMPLES | |
| 13 Execute a command | |
| 14 100 seconds hence. | |
| 15 .IP | |
| 16 .EX | |
| 17 {sleep 100; command}& | |
| 18 .EE | |
| 19 .PP | |
| 20 Repeat a command every 30 seconds. | |
| 21 .IP | |
| 22 .EX | |
| 23 while (){ | |
| 24 command | |
| 25 sleep 30 | |
| 26 } | |
| 27 .EE | |
| 28 .SH SOURCE | |
| 29 .B \*9/src/cmd/sleep.c | |
| 30 .SH "SEE ALSO" | |
| 31 .IR sleep (3) |