HomeFreeBSD

sleep: Overhaul.

Description

sleep: Overhaul.

Program:

  • Add a dummy getopt(3) loop to handle --.
  • Move interval parsing out into a separate function.
  • Print a diagnostic for every invalid interval.
  • Check for NaN and infinity.
  • Improve bounds checks.

Manual page:

  • Miscellaneous markup fixes.
  • Reword DESCRIPTION section.
  • Move text about GNU compatibility to STANDARDS section.
  • Convert examples from csh to sh.

Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D44471

Details

Provenance
desAuthored on Mar 25 2024, 3:58 PM
Reviewer
kevans
Differential Revision
D44471: sleep: Overhaul.
Parents
rGcaccf6d3c008: pfsync: cope with multiple pending plus messages
Branches
Unknown
Tags
Unknown