summaryrefslogtreecommitdiffstats
path: root/bin/sleep
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-18 06:51:59 +0000
committercharnier <charnier@FreeBSD.org>1998-05-18 06:51:59 +0000
commitd40a1af7e08585baef50c2b39e2084a2895d94f9 (patch)
tree934a5d633259fb57b60f4e0c4832781b53acaa9c /bin/sleep
parent50b030d998b91f966fc075e6f1ea84b00c3cc91c (diff)
downloadFreeBSD-src-d40a1af7e08585baef50c2b39e2084a2895d94f9.zip
FreeBSD-src-d40a1af7e08585baef50c2b39e2084a2895d94f9.tar.gz
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/sleep')
-rw-r--r--bin/sleep/sleep.110
-rw-r--r--bin/sleep/sleep.c8
2 files changed, 10 insertions, 8 deletions
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1
index 0059ac1..679e78d 100644
--- a/bin/sleep/sleep.1
+++ b/bin/sleep/sleep.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)sleep.1 8.3 (Berkeley) 4/18/94
-.\" $Id: sleep.1,v 1.6 1997/02/22 14:05:44 peter Exp $
+.\" $Id: sleep.1,v 1.7 1997/08/12 21:20:12 ache Exp $
.\"
.Dd April 18, 1994
.Dt SLEEP 1
@@ -46,17 +46,17 @@
.Ar seconds
.Sh DESCRIPTION
The
-.Nm sleep
+.Nm
command
suspends execution for a minimum of
.Ar seconds .
-.Nm
+.Nm Sleep
is used to schedule the execution of other commands (see
.Sx EXAMPLES
below).
.Pp
If the
-.Nm sleep
+.Nm
command
receives a SIGALRM signal, it terminates normally with a zero exit status,
for any other signal it takes the standard action.
@@ -117,7 +117,7 @@ awk job.
.Xr sleep 3
.Sh STANDARDS
The
-.Nm sleep
+.Nm
command is expected to be
.St -p1003.2
compatible.
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c
index d11dd07..58f3bc8 100644
--- a/bin/sleep/sleep.c
+++ b/bin/sleep/sleep.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: sleep.c,v 1.5 1997/02/22 14:05:45 peter Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)sleep.c 8.3 (Berkeley) 4/2/94";
+#if 0
+static char sccsid[] = "@(#)sleep.c 8.3 (Berkeley) 4/2/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <stdio.h>
OpenPOWER on IntegriCloud