HomeFreeBSD

Improve compatibility with GNU timeout

Description

Improve compatibility with GNU timeout

According to the coreutils regression testsuite for timeout(1)
It is expect to exit with a status being:
125 in case an invalid duration or signal is passed in arguments
126 in case an invalid command is passed in arguments
127 in case the command passed in arguments does not exists.

While here document this behaviour in the man page

Details

Provenance
baptAuthored on
Parents
rS273768: Remove the distinction between strings and numbers from ctld(8) yacc parser.
Branches
Unknown
Tags
Unknown

Event Timeline