[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Aug 2023 05:33:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273196

Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew@tao11.riddles.org.uk

--- Comment #2 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> ---
The command being assembled has _one_ arg, not three, and that arg is 266
characters long.

"The resulting arguments, after replacement is done, will not be allowed to
grow beyond replsize (or 255 if no -S flag is specified) bytes..."

266 is greater than 255 so it fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.