Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 15:51:17 +0400
From:      Sergey Kandaurov <pluknet@freebsd.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r268745 - in head/usr.bin: . timeout
Message-ID:  <20140716115117.GA30868@omg>
In-Reply-To: <201407160955.s6G9taro084054@svn.freebsd.org>
References:  <201407160955.s6G9taro084054@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 16, 2014 at 09:55:36AM +0000, Baptiste Daroussin wrote:
> Author: bapt
> Date: Wed Jul 16 09:55:36 2014
> New Revision: 268745
> URL: http://svnweb.freebsd.org/changeset/base/268745
>=20
> Log:
>   New BSDL timeout(1) utility compatible with GNU timeout

The purpose of this utility is unclear.

[...]
> +.Ar args
> +and kills if it is still runs after
> +.Ar duration .
> +.Bl -tag -width "-k time, --kill-after time"

mdoc warning: A .Bl directive has no matching .El

> +.It Fl -preserve-status
> +Always exist with the same status as
> +.Ar command
> +even if it times out.
> +.It Fl -foreground
> +Do not propagate timeout to the
> +.Ar command
> +children.
> +.It Fl s Ar sig , Fl -signal Ar sig
> +Speficy the signal to send on timeout by default
> +.Ar SIGTERM .
> +.It Fl k Ar time , Fl -kill-after Ar time
> +Send a second kill if the
> +.Ar command
> +is still running after
> +.Ar time
> +seconds after the first signal was sent
> +.Sh SEE ALSO
> +.Xr signal 3 ,
> +.Xr kill 1
>=20
> Added: head/usr.bin/timeout/timeout.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/usr.bin/timeout/timeout.c	Wed Jul 16 09:55:36 2014	(r268745)
> @@ -0,0 +1,336 @@
> +/*-
> + * Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org>
> + * Copyright (c) 2014 Vsevolod Stakhov <vsevolod@FreeBSD.org>
> + * All rights reserved.
> + *~

hah? looks like an editor issue

> + * Redistribution and use in source and binary forms, with or without
> + * modification, are permitted provided that the following conditions
> + * are met:
> + * 1. Redistributions of source code must retain the above copyright
> + *    notice, this list of conditions and the following disclaimer
> + *    in this position and unchanged.
> + * 2. Redistributions in binary form must reproduce the above copyright
> + *    notice, this list of conditions and the following disclaimer in the
> + *    documentation and/or other materials provided with the distributio=
n.
> + *~

same here


--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJTxmc1AAoJED9Ol7oQYHQZdXoH/2rwdvZNkNVjmyzKW2As0G6K
JRk+7MiiGizryF88/YA13x7b4uh3f7bFRuP52NC2DXdGiwSLGqNq2brhDadOVJFW
QRNKV7B1iSRn5++vi2EE/pFv+wPkTMbuH69UK2ktCC4eSH08U7Y31zuFEZal7q8Q
R8uDwfsPIGoGL4l05Ya1mliLc8LlczwI9sguh6cWktgckcBopfZSYXkrh3PteveW
CyYsxiKXDh+plNf33nbWYqQvtdxidqcRsreQGLORl8LpVzZ7GqfZBgMWz8+FXkAI
nRJimwUqEPZml4HzgQmg0RDsyq++15vliCKwz7VE3o5WCzi21ukAWhW4hFCu15I=
=wYWd
-----END PGP SIGNATURE-----

--IS0zKkzwUGydFO0o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140716115117.GA30868>