{"p":"","h":{"iv":"ROXSYW+cfvEbFHu5","at":"ocxplSQjdRC3tXEtB/9/wg=="}}

@darius I find I rarely need it. Between shell looping and non-dumb use of find, not much need.

find dir args -exec prog {} \; # dumb one at a time
find dir ars -print0 | xargs -0 prog {} # tedious so much typing
find dir args -exec prog {} + # nice, no xargs needed

for thing in $(find dir args) ; do
# handy loop, but $IFS sensitive
done

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies