svn commit: r268745 - in head/usr.bin: . timeout
Jan Beich
jbeich at vfemail.net
Wed Jul 16 10:26:13 UTC 2014
Baptiste Daroussin <bapt at FreeBSD.org> writes:
> Author: bapt
> Date: Wed Jul 16 09:55:36 2014
> New Revision: 268745
> URL: http://svnweb.freebsd.org/changeset/base/268745
>
> Log:
> New BSDL timeout(1) utility compatible with GNU timeout
>
> it fully passes the GNU timeout regression tests, it is written in a mostly
> portable way (only signal parsing is relying on non portable structures)
--version is not supported unlike GNU timeout.
> +.It Fl -preserve-status
> +Always exist with the same status as
Exist? What does timeout(1) without the option? The man page lacks
EXIT STATUS section.
$ timeout 1 sleep 10
zsh: exit 124
$ timeout --preserve-status 1 sleep 10
zsh: exit 143
> + switch (*end) {
> + case 's':
> + break;
> + case 'm':
> + ret *= 60;
> + break;
> + case 'h':
> + ret *= 60 * 60;
> + break;
> + case 'd':
> + ret *= 60 * 60 * 24;
> + break;
These suffixes are not documented.
-------------------------------------------------
VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
More information about the svn-src-head
mailing list