git: timeout(1): Add -f and -p options as per POSIX.1-2024

Aaron LI aly at crater.dragonflybsd.org
Tue Mar 18 19:35:54 PDT 2025


commit da7eb386b377f0eaa8733172ae212528b570eb31
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Feb 27 06:58:31 2025 +0800

    timeout(1): Add -f and -p options as per POSIX.1-2024
    
    POSIX.1-2024 first defined the timeout(1) utility and specified the '-f'
    and '-p' options, which are the short versions of '--foreground' and
    '--preserve-status' options, respectively.  Add the short versions to
    comply with the Standard.
    
    Reference: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/timeout.html

Summary of changes:
 usr.bin/timeout/timeout.1 | 21 +++++++++++----------
 usr.bin/timeout/timeout.c | 38 +++++++++++++++++++++-----------------
 2 files changed, 32 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/da7eb386b377f0eaa8733172ae212528b570eb31


-- 
DragonFly BSD source repository


More information about the Commits mailing list