> On Aug 15, 2022, at 16:42, Felipe Contreras wrote: > > On Mon, Aug 15, 2022 at 4:04 PM Perry Smith wrote: >> >> I want to write “something” that effectively does >> >> function xlargs >> { >> tr ‘\n’ ‘\0’ | xargs -0 $* >> } >> >> >> Would you recommend doing this as an autoload function or as an alias? The reason I ask is because back when I used bash and something called rvm, all of my aliases proved to be a horrible wrench for their bash shell scripts. So I’ve sorta sworn off of aliases but I’m wondering if that is imprudent. > > If you are doing multiple commands I would do a function, but I wonder > what's the point of this when you can do: xargs -d '\n' $* Thank you. It appears that neither macOS nor Free BSD have the -d option. I see it in the Linux documentation but, yes, that is exactly what I’m needing.