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)
Tue, Jun 23, 5:43 AM
Unknown Object (File)
Thu, Jun 11, 2:40 PM
Unknown Object (File)
Tue, Jun 9, 11:23 PM
Unknown Object (File)
Sun, Jun 7, 4:08 PM
Unknown Object (File)
Thu, May 28, 9:56 PM
Unknown Object (File)
Thu, May 28, 9:56 PM
Unknown Object (File)
May 17 2026, 11:45 AM
Unknown Object (File)
May 17 2026, 8:08 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