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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273196

--- Comment #7 from Fernando ApesteguĂ­a <fernape@FreeBSD.org> ---
I can't reproduce this. When I execute the testcase, this is what I get:

~/test$ sh run.sh 
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
'{}'

The second replstr is not replaced.

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

~/test$ sh run.sh 
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

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

home | help

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