upgrade to delay 1.4

This commit is contained in:
brad 1999-12-31 08:08:45 +00:00
parent 66c79bc002
commit 4aab0778be
4 changed files with 31 additions and 16 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.2 1999/06/01 21:56:20 brad Exp $
# $OpenBSD: Makefile,v 1.3 1999/12/31 08:08:45 brad Exp $
# $FreeBSD: Makefile,v 1.1.1.1 1999/03/05 17:07:28 nectar Exp $
DISTNAME= delay-1.2a
DISTNAME= delay-1.4
CATEGORIES= misc
MASTER_SITES= http://onegeek.org/~tom/software/delay/dl/

View File

@ -1,3 +1,3 @@
MD5 (delay-1.2a.tar.gz) = 77295ee1b23910d6fbf0f549713bc51b
RMD160 (delay-1.2a.tar.gz) = d36414c3476ea5cf71c093ae4a55bbac14509e75
SHA1 (delay-1.2a.tar.gz) = cc7a176fb4341e8cd4ea4e492d94e179b0a3c45d
MD5 (delay-1.4.tar.gz) = c7ca665bca31eb80a72b5ff24ebc3d27
RMD160 (delay-1.4.tar.gz) = 79f13f88cd97e616185d0399e0bdf3d6da98cd9c
SHA1 (delay-1.4.tar.gz) = 3816642f70f566b124eca484184c0def3beebd94

View File

@ -0,0 +1,19 @@
--- delay.c.orig Fri Dec 31 02:04:36 1999
+++ delay.c Fri Dec 31 02:05:34 1999
@@ -17,6 +17,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
@@ -351,7 +352,7 @@
if (cmd) {
execvp(cmd[0], cmd);
perror(argv[0]); /* If it worked, we won't get here. */
- exit -1;
+ exit(-1);
}
exit(0);

View File

@ -1,23 +1,19 @@
Delay is a program that counts down the number of seconds specified
on its command line.
In this way, it's sort of like the standard sleep(1) command, except
for the fact that it provides feedback of the time remaining.
on its command line. In this way, it's sort of like the standard
sleep(1) command, except for the fact that it provides feedback of the
time remaining.
With version 1.2 you can also 'delay' until a given time specification.
You can also 'delay' until a given time specification.
Here some usage example:
delay 1d 2:03:04.5
delay 1d 2h 3m 4.5s
delay 93785.5
delay until 4 pm
delay until 4 pm -- cdplay
delay until noon tomorrow
delay until midnight 13 september 2000
delay until now + 5 minutes
delay 15s -- top
It allows for short, long, and customized messages for the display of
the time remaining.
- author: Tom Rothamel <tom@onegeek.org>
- distfile: delay-1.2.tar.gz (63 kb)
- example of output : delay -v until 4 pm tomorrow
Time Remaining: 1 days, 07:51:39.
the time remaining.