Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2023 06:32:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long
Message-ID:  <bug-273196-7788-W4nNApLQk0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273196-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273196-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273196

--- Comment #3 from Yuri Victorovich <yuri@freebsd.org> ---
Yes, it has one argument.

I think it would be a good improvement to get rid of the -S limit.
Currently xargs's manpage says:
>     -S replsize
>             Specify the amount of space (in bytes) that -I can use for
>             replacements.  The default for replsize is 255.

It isn't clear why should this limit even be applied. The limitation should=
 be
the same as the limitation that the system imposes on the command line leng=
th
that can be run.

It isn't beneficial for xargs(1) to have another, lower limit in case when
replacements are done.

I found this problem when xargs failed during tests of devel/util-linux. xa=
rgs
is used there and the tests run fine on Linux, but they fail on FreeBSD due=
 to
this problem.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273196-7788-W4nNApLQk0>