1dec4fa3 |
1 | .\" -*-nroff-*- |
2 | .de hP |
3 | .IP |
4 | .ft B |
5 | \h'-\w'\\$1\ 'u'\\$1\ \c |
6 | .ft P |
7 | .. |
8 | .ie t .ds o \(bu |
9 | .el .ds o o |
10 | .TH pause 1 "27 October 1999" |
11 | .SH "NAME" |
12 | pause \- wait for a period of time, or for a keypress |
13 | .SH "SYNOPSIS" |
14 | .B pause |
15 | .RI [ time ] |
16 | .SH "DESCRIPTION" |
17 | The |
18 | .B pause |
19 | program will wait until one of the following conditions is true: |
20 | .hP \*o |
21 | Standard input is a terminal, and a key has been pressed on the terminal |
22 | since the program started. |
23 | .hP \*o |
24 | A time limit was specified on the command line, and sufficient time has |
25 | elapsed since the program started. |
26 | .hP \*o |
27 | The program received a fatal signal. |
28 | .PP |
29 | The time limit is given as a positive real number, followed by a suffix |
30 | of |
31 | .RB ` d ', |
32 | .RB ` h ', |
33 | .RB ` m ' |
34 | or |
35 | .RB ` s ' |
36 | denoting days, hours, minutes or seconds (which are the default). |
37 | .PP |
38 | The standard GNU help options are understood: |
39 | .B \-\-help |
40 | (which may be abbreviated as |
41 | .BR \-h ) |
42 | prints a description of the program to standard output and exits; |
43 | .B \-\-version |
44 | .RB ( \-v ) |
45 | prints the version number and exits; and |
46 | .B \-\-usage |
47 | .RB ( \-u ) |
48 | prints a brief usage summary and exits. |
49 | .SH "SEE ALSO" |
50 | .BR sleep (1). |
51 | .SH "AUTHOR" |
71d8432e |
52 | Mark Wooding, <mdw@distorted.org.uk> |