Re: git: 044f94adff55 - main - timeout(1): Update STANDARDS section
- In reply to: Gordon Bergling : "git: 044f94adff55 - main - timeout(1): Update STANDARDS section"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Sep 2024 19:40:52 UTC
On Tue, Sep 24, 2024 at 04:42:50PM +0000, Gordon Bergling wrote: > The branch main has been updated by gbe: > > URL: https://cgit.FreeBSD.org/src/commit/?id=044f94adff55f13130f03c0c170fa879c8febb5b > > commit 044f94adff55f13130f03c0c170fa879c8febb5b > Author: Gordon Bergling <gbe@FreeBSD.org> > AuthorDate: 2024-09-24 16:42:18 +0000 > Commit: Gordon Bergling <gbe@FreeBSD.org> > CommitDate: 2024-09-24 16:42:18 +0000 > > timeout(1): Update STANDARDS section > > Update the STANDARDS section for timeout(1) to > POSIX 1003.1-2024. > > Update mandoc to be able to render the > new POSIX macro. > > Reviewed by: bapt, bcr > Approved by: bapt > Obtained from: OpenBSD > MFC after: 2 weeks > Differential Revision: https://reviews.freebsd.org/D45691 > --- > bin/timeout/timeout.1 | 8 +++++++- > contrib/mandoc/st.c | 1 + > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/bin/timeout/timeout.1 b/bin/timeout/timeout.1 > index 9e624e809376..10e5fd70c393 100644 > --- a/bin/timeout/timeout.1 > +++ b/bin/timeout/timeout.1 > @@ -24,7 +24,7 @@ > .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > .\" SUCH DAMAGE. > .\" > -.Dd June 26, 2023 > +.Dd June 17, 2024 > .Dt TIMEOUT 1 > .Os > .Sh NAME > @@ -195,6 +195,12 @@ $ timeout -k 5s 1m fetch \\ > .Xr nohup 1 , > .Xr signal 3 , > .Xr daemon 8 > +.Sh STANDARDS > +The > +.Nm > +utility is compliant with the > +.St -p1003.1-2024 > +specification. It is not. At very least, we do not support short versions of -f and -p options. (OTOH they should be simply an aliases for existing long options)