Date: Fri, 18 Aug 2023 05:17:53 +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@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273196 Bug ID: 273196 Summary: xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: yuri@freebsd.org This script: > echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa= aaaaaaaaaaaa | \ > xargs -I '{}' echo "'{}' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx '{}'" fails: > xargs: command line cannot be assembled, too long The resulting command line has only 3 arguments: 80, 100, and 80 characters. This is quite a short command line, but xargs(1) fails for some reason. xargs(1) should be able to assemble commands as long as they can be execute= d, which is much longer than the above example. FreeBSD 13.2 --=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>