I'm on a mac and I don't want to use the builtin xargs
utility. Because it's different with the gnu xargs
. After google around I found xargs
belongs to the findutils
package in homebrew and I can install it with a simple command brew install findutils
. My question is, it there a simpler way to identify xargs
belongs to findutils
?
Thanks.
which xargs
will show the path. /usr/bin/xargs on mac is the system bsd. you can add this to your path to ensure xargs from brew findutils:PATH="$(brew --prefix findutils)/libexec/gnubin:$PATH"; export PATH
– Sessoms