[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273196] xargs(1) fails for a command line shorter than 200 chars: xargs: command line cannot be assembled, too long"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Aug 2023 05:17:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273196 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 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | \ > xargs -I '{}' echo "'{}' xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx '{}'" 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 executed, which is much longer than the above example. FreeBSD 13.2 -- You are receiving this mail because: You are the assignee for the bug.