Page MenuHomeFreeBSD

xargs: fix -R so that it accepts negative numbers again
ClosedPublic

Authored by des on Jul 13 2023, 7:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 22, 4:14 AM
Unknown Object (File)
Thu, Nov 13, 3:56 AM
Unknown Object (File)
Mon, Nov 3, 5:38 AM
Unknown Object (File)
Mon, Nov 3, 4:39 AM
Unknown Object (File)
Sun, Nov 2, 10:50 PM
Unknown Object (File)
Sat, Nov 1, 6:53 AM
Unknown Object (File)
Oct 31 2025, 3:43 PM
Unknown Object (File)
Oct 29 2025, 7:23 AM
Subscribers

Details

Summary

fbc445addf9 converted the parsing of arguments to strtonum but made
the accepted range for -R too restrictive. As documented in the man
page, it should accept negative numbers.

Added a test for this, which was provided by Jose Luis Duran.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable