OpenBSD CVS

CVS log for src/usr.bin/timeout/timeout.1


[BACK] Up to [local] / src / usr.bin / timeout

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 3 19:16:31 2023 UTC (6 months, 2 weeks ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.7: +22 -13 lines
Diff to previous 1.7 (colored)

timeout(1): align execvp(3) failure statuses with GNU timeout

Align our exit statuses with those of GNU timeout in the execvp(3)
failure case.  Exit with 127 if the utility is not found.  Exit with
126 if we cannot execute the utility for any other reason.

While here, the child should _exit(2) instead of calling exit(3) via
err(3).

Update the manpage accordingly.

With input from millert@ and deraadt@.

Link: https://marc.info/?l=openbsd-tech&m=169739592322978&w=2

ok millert@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 12 14:08:39 2023 UTC (16 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

diff from sobrado to use a full argument name for -s: after some discussion
we used "signal", as per pkill/pgrep; also lift the descriptive text
from kill.1 to clarify that both signal name and number are accepted;

ok sobrado job

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 10 21:10:37 2023 UTC (16 months, 1 week ago) by jmc
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

oops, fix a bad edit in previous;

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 10 14:19:12 2023 UTC (16 months, 1 week ago) by job
Branch: MAIN
Changes since 1.4: +11 -12 lines
Diff to previous 1.4 (colored)

Add short options for --foreground and --preserve-status

Align with upcoming POSIX spec: https://www.austingroupbugs.net/view.php?id=1586

OK jmc@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 22 19:53:23 2022 UTC (16 months, 3 weeks ago) by kn
Branch: MAIN
Changes since 1.3: +4 -6 lines
Diff to previous 1.3 (colored)

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.

Cleanup a few markups of the same argument so the text keeps reading
naturally;  omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.

For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.

Feedback millert jmc schwarze deraadt
OK jmc

Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 4 11:58:31 2021 UTC (2 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.2: +10 -23 lines
Diff to previous 1.2 (colored)

* avoid the misleading wording "second kill signal"
* simplify and shorten EXIT STATUS, no change with respect to the meaning
* cut down HISTORY to the usual amount of information
feedback deraadt@ and jmc@; OK deraadt@; OK jmc@ on an earlier version

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 2 21:50:24 2021 UTC (2 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.1: +44 -46 lines
Diff to previous 1.1 (colored)

various improvements to the text/usage, chiefly removing alternative long
options from SYNOPSIS/usage;

diff from leon fischer

the opening sentence is mine - i say that not to take credit, just to
distinguish that leon did not agree with wording

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 1 15:50:33 2021 UTC (2 years, 8 months ago) by job
Branch: MAIN

Import timeout(1) from NetBSD

The timeout(1) utility can be used to run commands with a time limit.

OK deraadt@ beck@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.