Deleted Added
full compact
sleep.1 (139969) sleep.1 (140353)
1.\"-
2.\" Copyright (c) 1990, 1993, 1994
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" the Institute of Electrical and Electronics Engineers, Inc.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)sleep.1 8.3 (Berkeley) 4/18/94
1.\"-
2.\" Copyright (c) 1990, 1993, 1994
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" the Institute of Electrical and Electronics Engineers, Inc.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)sleep.1 8.3 (Berkeley) 4/18/94
33.\" $FreeBSD: head/bin/sleep/sleep.1 139969 2005-01-10 08:39:26Z imp $
33.\" $FreeBSD: head/bin/sleep/sleep.1 140353 2005-01-16 16:41:59Z ru $
34.\"
35.Dd April 18, 1994
36.Dt SLEEP 1
37.Os
38.Sh NAME
39.Nm sleep
40.Nd suspend execution for an interval of time
41.Sh SYNOPSIS

--- 19 unchanged lines hidden (view full) ---

61command will accept and honor a non-integer number of specified seconds
62(with a
63.Ql .\&
64character as a decimal point).
65.Bf Sy
66This is a non-portable extension, and its use will nearly guarantee that
67a shell script will not execute properly on another system.
68.Ef
34.\"
35.Dd April 18, 1994
36.Dt SLEEP 1
37.Os
38.Sh NAME
39.Nm sleep
40.Nd suspend execution for an interval of time
41.Sh SYNOPSIS

--- 19 unchanged lines hidden (view full) ---

61command will accept and honor a non-integer number of specified seconds
62(with a
63.Ql .\&
64character as a decimal point).
65.Bf Sy
66This is a non-portable extension, and its use will nearly guarantee that
67a shell script will not execute properly on another system.
68.Ef
69.Sh EXIT STATUS
70.Ex -std
69.Sh EXAMPLES
70To schedule the execution of a command for
71.Va x
72number seconds later (with
73.Xr csh 1 ) :
74.Pp
75.Dl (sleep 1800; sh command_file >& errors)&
76.Pp

--- 24 unchanged lines hidden (view full) ---

101running is taking longer than expected to process a series of
102files, and it would be nice to have
103another program start processing the files created by the first
104program as soon as it is finished (when zzz.rawdata is created).
105The script checks every five minutes for the file zzz.rawdata,
106when the file is found, then another portion processing
107is done courteously by sleeping for 70 seconds in between each
108awk job.
71.Sh EXAMPLES
72To schedule the execution of a command for
73.Va x
74number seconds later (with
75.Xr csh 1 ) :
76.Pp
77.Dl (sleep 1800; sh command_file >& errors)&
78.Pp

--- 24 unchanged lines hidden (view full) ---

103running is taking longer than expected to process a series of
104files, and it would be nice to have
105another program start processing the files created by the first
106program as soon as it is finished (when zzz.rawdata is created).
107The script checks every five minutes for the file zzz.rawdata,
108when the file is found, then another portion processing
109is done courteously by sleeping for 70 seconds in between each
110awk job.
109.Sh DIAGNOSTICS
110.Ex -std
111.Sh SEE ALSO
112.Xr nanosleep 2 ,
113.Xr sleep 3
114.Sh STANDARDS
115The
116.Nm
117command is expected to be
118.St -p1003.2
119compatible.
120.Sh HISTORY
121A
122.Nm
123command appeared in
124.At v4 .
111.Sh SEE ALSO
112.Xr nanosleep 2 ,
113.Xr sleep 3
114.Sh STANDARDS
115The
116.Nm
117command is expected to be
118.St -p1003.2
119compatible.
120.Sh HISTORY
121A
122.Nm
123command appeared in
124.At v4 .