From b9ecc7e16c1d10bc7cac12a3cd4a4e138929c63d Mon Sep 17 00:00:00 2001 From: tjr Date: Mon, 10 Jun 2002 09:33:15 +0000 Subject: Sort sections, use Ex macro in Diagnostics section, point out that the first example only works with csh(1). --- bin/sleep/sleep.1 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'bin/sleep') diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index 437abbb..c08b2fc 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -69,20 +69,11 @@ character as a decimal point). This is a non-portable extension, and its use will nearly guarantee that a shell script will not execute properly on another system. .Ef -.Sh DIAGNOSTICS -The -.Nm -utility exits with one of the following values: -.Bl -tag -width flag -.It Li \&0 -On successful completion. -.It Li \&>\&0 -An error occurred. -.El .Sh EXAMPLES To schedule the execution of a command for .Va x -number seconds later: +number seconds later (with +.Xr csh 1 ) : .Pp .Dl (sleep 1800; sh command_file >& errors)& .Pp @@ -118,6 +109,8 @@ The script checks every five minutes for the file zzz.rawdata, when the file is found, then another portion processing is done courteously by sleeping for 70 seconds in between each awk job. +.Sh DIAGNOSTICS +.Ex -std .Sh SEE ALSO .Xr nanosleep 2 , .Xr sleep 3 -- cgit v1.1