Re: strange behavour with combining -i with -n 1 for xargs

2021-10-22 Thread Andreas Metzler
On 2021-10-22 "Koopal, Andre via Bug reports for the GNU find utilities" wrote: > I tried the following which didn't work as expected: > % echo a b c | gxargs -n 1 -i echo before {} after > before a b c after [...] > This seems like a bug to me, can you investigate? Hello, -I replace-str

strange behavour with combining -i with -n 1 for xargs

2021-10-22 Thread Koopal, Andre
I tried the following which didn't work as expected: % echo a b c | gxargs -n 1 -i echo before {} after before a b c after Without -i it uses the arguments by itself, but of course at the end % echo a b c | gxargs -n 1 echo before {} after before {} after a before {} after b before {} after c J