Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2023 15:53:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273196] xargs(1): remove the limitation on the length of strings with replacements
Message-ID:  <bug-273196-227-CpMeSmKUVT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273196-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273196-227@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 #7 from Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> ---
I can't reproduce this. When I execute the testcase, this is what I get:

~/test$ sh run.sh=20
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=
aaaaaa'
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxx
'{}'

The second replstr is not replaced.

If I shorten the match string, then both are replaced.

~/test$ sh run.sh=20
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxx
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

--=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-227-CpMeSmKUVT>