Earlier quoted context omitted.
This is like the sed|bash anti-pattern mentioned in the original post, and quoted in the appendix on shell injection. I wouldn't say "never use it", but I would hesitate to ever put it in a script, vs. doing a one-off at the command line.
You don't pipe to bash on the first run. Use awk/sed without piping to workshop your commands. Once you've got them right send over to bash. This is far superior to futzing with xargs interactive or whatever dry run feature they have.
http://www.oilshell.org/blog/2021/08/xargs.html#more-comment...
https://lobste.rs/s/wlqveb/xargs_considered_harmful#c_kwsxtc