Follow-up Comment #4, bug #26883 (project findutils):
Using tr and xargs -0 is not secure; in other words, it is the same as if you
had done:
find -iname '*.scala' -o -iname '*.java' | xargs echo
The whole point of 'xargs -0' is that it is only useful if you already had
secure file names passed to xargs in the first place.
You probably want:
find ( -iname '*.scala' -o -iname '*.java' ) -print0 | xargs -0 echo
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26883>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/